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-18726) Filesystem unnecessarily scanned twice during creation of non-catalog table
Date Fri, 03 Mar 2017 07:54:45 GMT

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

Wenchen Fan resolved SPARK-18726.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

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

> Filesystem unnecessarily scanned twice during creation of non-catalog table
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-18726
>                 URL: https://issues.apache.org/jira/browse/SPARK-18726
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Eric Liang
>             Fix For: 2.2.0
>
>
> It seems that for non-catalog tables (e.g. spark.read.parquet(...)), we scan the filesystem
twice, once for schema inference, and another to create a FileIndex class for the relation.
> It would be better to combine these scans somehow, since this is the most costly step
of creating a table. This is a follow-up ticket to https://github.com/apache/spark/pull/16090.
> cc [~cloud_fan]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message