You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rex Xiong (JIRA)" <ji...@apache.org> on 2015/06/25 11:41:04 UTC

[jira] [Created] (SPARK-8624) DataFrameReader doesn't respect MERGE_SCHEMA setting for Parquet

Rex Xiong created SPARK-8624:
--------------------------------

             Summary: DataFrameReader doesn't respect MERGE_SCHEMA setting for Parquet
                 Key: SPARK-8624
                 URL: https://issues.apache.org/jira/browse/SPARK-8624
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.4.0
            Reporter: Rex Xiong


In 1.4.0, parquet is read by DataFrameReader.parquet, when creating ParquetRelation2 object, "Map.empty[String, String]" is hard-coded as "parameters", so ParquetRelation2.shouldMergeSchemas is always true (the default value).
In previous version, spark.sql.hive.convertMetastoreParquet.mergeSchema config is respected.
This bug downgrade performance a lot for a folder with hundreds of parquet files and we don't want a schema merge.



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