You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jianshi Huang (JIRA)" <ji...@apache.org> on 2014/10/08 10:29:33 UTC

[jira] [Created] (SPARK-3845) SQLContext(...) should inherit configurations from SparkContext

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