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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org