Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/12002#discussion_r57860229
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRelation.scala
---
@@ -276,38 +276,26 @@ private[sql] class DefaultSource
file.getName == ParquetFileWriter.PARQUET_METADATA_FILE
}
- /**
- * Returns a function that can be used to read a single file in as an
Iterator of InternalRow.
- *
- * @param partitionSchema The schema of the partition column row that
will be present in each
- * PartitionedFile. These columns should be
prepended to the rows that
- * are produced by the iterator.
- * @param dataSchema The schema of the data that should be output for
each row. This may be a
- * subset of the columns that are present in the file
if column pruning has
- * occurred.
- * @param filters A set of filters than can optionally be used to reduce
the number of rows output
- * @param options A set of string -> string configuration options.
- * @return
- */
--- End diff --
This ScalaDoc duplicates the one in `FileFormat.buildReader()`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]