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

Apache Spark commented on SPARK-22938:
--------------------------------------

User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/21190

> Assert that SQLConf.get is accessed only on the driver.
> -------------------------------------------------------
>
>                 Key: SPARK-22938
>                 URL: https://issues.apache.org/jira/browse/SPARK-22938
>             Project: Spark
>          Issue Type: Test
>          Components: SQL
>    Affects Versions: 2.2.1
>            Reporter: Juliusz Sompolski
>            Assignee: Juliusz Sompolski
>            Priority: Major
>             Fix For: 2.3.0
>
>
> Assert if code tries to access SQLConf.get on executor.
> This can lead to hard to detect bugs, where the executor will read 
> fallbackConf, falling back to default config values, ignoring potentially 
> changed non-default configs.
> If a config is to be passed to executor code, it needs to be read on the 
> driver, and passed explicitly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to