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:39:00 UTC

[jira] [Updated] (SPARK-27326) Fall back all v2 file sources in `InsertIntoTable` to V1 FileFormat

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

Gengliang Wang updated SPARK-27326:
-----------------------------------
    Issue Type: Sub-task  (was: Improvement)
        Parent: SPARK-27589

> Fall back all v2 file sources in `InsertIntoTable` to V1 FileFormat
> -------------------------------------------------------------------
>
>                 Key: SPARK-27326
>                 URL: https://issues.apache.org/jira/browse/SPARK-27326
>             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 the first PR for file source V2, there was a rule for falling back Orc V2 table to OrcFileFormat: https://github.com/apache/spark/pull/23383/files#diff-57e8244b6964e4f84345357a188421d5R34
> As we are migrating more file sources to data source V2, we should make the rule more generic. This PR proposes to:
> 1. Rename the rule `FallbackOrcDataSourceV2 ` to `FallBackFileSourceV2`.The name is more generic. And we use "fall back" as verb, instead of "fallback".
> 2. Rename the method `fallBackFileFormat` in `FileDataSourceV2` to `fallbackFileFormat`. Here we should use "fallback" as noun, while "fall back" is verb.
> 3. Add new method `fallbackFileFormat` in `FileTable`. This is for falling back to V1 in rule `FallbackOrcDataSourceV2 `.



--
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