You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2018/12/19 17:08:00 UTC

[jira] [Created] (SPARK-26409) SQLConf should be serializable in test sessions

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