[
https://issues.apache.org/jira/browse/SPARK-27049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan reassigned SPARK-27049:
-----------------------------------
Assignee: Gengliang Wang
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]