[
https://issues.apache.org/jira/browse/SPARK-18726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan reassigned SPARK-18726:
-----------------------------------
Assignee: Song Jun
> 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
> Assignee: Song Jun
> 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: [email protected]
For additional commands, e-mail: [email protected]