Jianshi Huang created SPARK-3845:
------------------------------------

             Summary: SQLContext(...) should inherit configurations from 
SparkContext
                 Key: SPARK-3845
                 URL: https://issues.apache.org/jira/browse/SPARK-3845
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 1.1.0
            Reporter: Jianshi Huang


It's very confusing that Spark configurations (e.g. spark.serializer, 
spark.speculation, etc.) can be set in the spark-default.conf file, while 
SparkSQL configurations (e..g spark.sql.inMemoryColumnarStorage.compressed, 
spark.sql.codegen, etc.) has to be set either in sqlContext.setConf or sql("SET 
...").

When I do:

  val sqlContext = new org.apache.spark.sql.SQLContext(sparkContext)

I would expect sqlContext recognizes all the SQL configurations comes with 
sparkContext.

Jianshi



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

Reply via email to