You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/03/04 16:07:00 UTC
[jira] [Assigned] (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 ]
Apache Spark reassigned SPARK-27049:
------------------------------------
Assignee: (was: Apache Spark)
> 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
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org