Gengliang Wang created SPARK-26409:
--------------------------------------

             Summary: SQLConf should be serializable in test sessions
                 Key: SPARK-26409
                 URL: https://issues.apache.org/jira/browse/SPARK-26409
             Project: Spark
          Issue Type: Improvement
          Components: SQL, Tests
    Affects Versions: 3.0.0
            Reporter: Gengliang Wang


Currently the `SQLConf` in `WithTestConf` is not serializable. It uses the 
method `overrideConfs` in closure, while the class 
`TestHiveSessionStateBuilder` and `TestSQLSessionStateBuilder` are not 
serializable.

This PR is to use a local variable to fix it.




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