You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2019/04/29 05:47:00 UTC

[jira] [Updated] (SPARK-27049) Support handling partition values in the abstraction of file source V2

     [ https://issues.apache.org/jira/browse/SPARK-27049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gengliang Wang updated SPARK-27049:
-----------------------------------
    Issue Type: Sub-task  (was: Task)
        Parent: SPARK-27589

> 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: Sub-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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org