GitHub user thegiive opened a pull request:

    https://github.com/apache/spark/pull/7070

    [Spark-8690][SQL] Add a setting to disable SparkSQL parquet schema merge by 
using datasource API

    The detail problem story is in 
https://issues.apache.org/jira/browse/SPARK-8690
    
    General speaking, I add a config spark.sql.parquet.mergeSchema to achieve 
the  sqlContext.load("parquet" , Map( "path" -> "..." , "mergeSchema" -> 
"false" )) 
    
    It will become a simple flag and without any side affect. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/thegiive/spark SPARK8690

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/7070.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #7070
    
----
commit c0edb8c57273728b2e9344b1bdc0f35ec71353eb
Author: Wisely Chen <wiselyc...@appier.com>
Date:   2015-06-28T10:40:11Z

    [SPARK-8690] add a config spark.sql.parquet.mergeSchema to disable 
datasource API schema merge feature.

commit b6806fbe14b432ccfebcce1989dd4fa291419585
Author: Wisely Chen <wiselyc...@appier.com>
Date:   2015-06-28T10:42:33Z

    remove text

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to