[
https://issues.apache.org/jira/browse/SPARK-22938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308130#comment-16308130
]
Apache Spark commented on SPARK-22938:
--------------------------------------
User 'juliuszsompolski' has created a pull request for this issue:
https://github.com/apache/spark/pull/20136
> 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
>
> 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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]