Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/22320#discussion_r214609005
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSource.scala
---
@@ -460,9 +460,9 @@ case class DataSource(
* @param mode The save mode for this writing.
* @param data The input query plan that produces the data to be
written. Note that this plan
* is analyzed and optimized.
- * @param outputColumns The original output columns of the input query
plan. The optimizer may not
- * preserve the output column's names' case, so we
need this parameter
- * instead of `data.output`.
+ * @param outputColumnNames The original output column names of the
input query plan. The
+ * optimizer may not preserve the output column's
names' case, so we need
+ * this parameter instead of `data.output`.
--- End diff --
nit:
```
* @param outputColumnNames The original output column names of the input
query plan. The
* optimizer may not preserve the output
column's names' case, so we need
* this parameter instead of `data.output`.
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]