spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-26871) File Source V2: avoid creating unnecessary FileIndex in the write path
Date Fri, 15 Feb 2019 07:00:00 GMT

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

Wenchen Fan resolved SPARK-26871.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23774
[https://github.com/apache/spark/pull/23774]

> File Source V2: avoid creating unnecessary FileIndex in the write path
> ----------------------------------------------------------------------
>
>                 Key: SPARK-26871
>                 URL: https://issues.apache.org/jira/browse/SPARK-26871
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 3.0.0
>
>
> In https://github.com/apache/spark/pull/23383, the file source V2 framework is implemented.
 In the PR, FileIndex is created as a member of FileTable,  so that we can implement partition
pruning like https://github.com/apache/spark/commit/0f9fcabb4ac2e8afec14d010e86467372a85d334
in the future(As data source V2 catalog is under development, partition pruning is removed
from the PR)
> However, after write path of file source V2 is implemented,  I find that a simple write
will create FileIndex, which is required by FileTable. This is a sort of regression.  
> This PR is to make FileIndex as a lazy value in FileTable, so that we can avoid creating
unnecessary FileIndex in the write path.



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


Mime
View raw message