[ https://issues.apache.org/jira/browse/SPARK-27049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-27049. --------------------------------- Resolution: Fixed Fix Version/s: 3.0.0 Issue resolved by pull request 23987 [https://github.com/apache/spark/pull/23987] > Support handling partition values in the abstraction of file source V2 > ---------------------------------------------------------------------- > > Key: SPARK-27049 > URL: https://issues.apache.org/jira/browse/SPARK-27049 > Project: Spark > Issue Type: Task > Components: SQL > Affects Versions: 3.0.0 > Reporter: Gengliang Wang > Assignee: Gengliang Wang > Priority: Major > Fix For: 3.0.0 > > > In FileFormat, the method buildReaderWithPartitionValues appends the > partition values to the end of the result of buildReader, so that for data > sources like CSV/JSON/AVRO only need to implement buildReader to read a > single file without taking care of partition values. > This PR proposes to support handling partition values in file source v2 > abstraction by > 1. Have two methods `buildReader` and `buildReaderWithPartitionValues` in > FilePartitionReaderFactory, which have exactly the same meaning as they are > in `FileFormat` > 2. Rename `buildColumnarReader` as `buildColumnarReaderWithPartitionValues` > to make the naming consistent. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org