You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:13:38 UTC
[jira] [Resolved] (SPARK-18725) Creating a datasource table with
schema should not scan all files for table
[ https://issues.apache.org/jira/browse/SPARK-18725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-18725.
----------------------------------
Resolution: Incomplete
> Creating a datasource table with schema should not scan all files for table
> ---------------------------------------------------------------------------
>
> Key: SPARK-18725
> URL: https://issues.apache.org/jira/browse/SPARK-18725
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.1.0
> Reporter: Eric Liang
> Priority: Major
> Labels: bulk-closed
>
> When creating an unpartitioned Datasource table, Spark will scan the table for all files to infer the schema, even if the user already provides a schema.
> This is fixed for partitioned tables by https://github.com/apache/spark/pull/16090 but this was left as a separate followup. Since unpartitioned tables are not typically large this can probably be left out of 2.1 release.
> cc [~cloud_fan]
--
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