You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Eric Liang (JIRA)" <ji...@apache.org> on 2016/12/05 22:08:59 UTC

[jira] [Created] (SPARK-18725) Creating a datasource table with schema should not scan all files for table

Eric Liang created SPARK-18725:
----------------------------------

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


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
(v6.3.4#6332)

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