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/03/04 16:02:00 UTC
[jira] [Created] (SPARK-27049) Support handling partition values in
the abstraction of file source V2
Gengliang Wang created SPARK-27049:
--------------------------------------
Summary: 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
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