[ 
https://issues.apache.org/jira/browse/SPARK-3845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14164882#comment-14164882
 ] 

Jianshi Huang commented on SPARK-3845:
--------------------------------------

Looks like it's fixed in latest 1.2.0 snapshot.

In 1.1.0, sqlContext.getAllConfs returns empty map.

Jianshi

> 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