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

ASF GitHub Bot commented on SPARK-26409:
----------------------------------------

gengliangwang opened a new pull request #23352: [SPARK-26409][SQL][TESTS] 
SQLConf should be serializable in test sessions
URL: https://github.com/apache/spark/pull/23352
 
 
   ## What changes were proposed in this pull request?
   
   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.
   
   ## How was this patch tested?
   
   Add unit test.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>            Priority: Major
>
> 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