cloud-fan commented on a change in pull request #24296: [SPARK-27384][SQL] File
source V2: Prune unnecessary partition columns
URL: https://github.com/apache/spark/pull/24296#discussion_r272484843
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/csv/CSVPartitionReaderFactory.scala
##########
@@ -33,24 +33,21 @@ import org.apache.spark.util.SerializableConfiguration
* @param sqlConf SQL configuration.
* @param broadcastedConf Broadcasted serializable Hadoop Configuration.
* @param dataSchema Schema of CSV files.
+ * @param readDataSchema Required data schema in the batch scan.
* @param partitionSchema Schema of partitions.
- * @param readSchema Required schema in the batch scan.
* @param parsedOptions Options for parsing CSV files.
*/
case class CSVPartitionReaderFactory(
sqlConf: SQLConf,
broadcastedConf: Broadcast[SerializableConfiguration],
dataSchema: StructType,
+ readDataSchema: StructType,
partitionSchema: StructType,
Review comment:
shall we call it `readPartitionSchema`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]