{"push_id":3155462291,"size":1,"distinct_size":1,"ref":"refs/heads/branch-2.4","head":"c29f7e20def505d3fdc2ee14a6d696a677828a4d","before":"daeb0811058c76e2d6cecb6de5ebe287c3be3a94","commits":[{"sha":"c29f7e20def505d3fdc2ee14a6d696a677828a4d","author":{"name":"Gengliang Wang","email":"bfe1a7b36425bd89859a70a36586361d28ec35eb@databricks.com"},"message":"[SPARK-26409][SQL][TESTS] SQLConf should be serializable in test sessions\n\n## What changes were proposed in this pull request?\n\n`SQLConf` is supposed to be serializable. However, currently it is not  serializable in `WithTestConf`. `WithTestConf` uses the method `overrideConfs` in closure, while the classes which implements it (`TestHiveSessionStateBuilder` and `TestSQLSessionStateBuilder`) are not serializable.\n\nThis PR is to use a local variable to fix it.\n\n## How was this patch tested?\n\nAdd unit test.\n\nCloses #23352 from gengliangwang/serializableSQLConf.\n\nAuthored-by: Gengliang Wang <gengliang.wang@databricks.com>\nSigned-off-by: gatorsmile <gatorsmile@gmail.com>\n(cherry picked from commit 6692bacf3e74e7a17d8e676e8a06ab198f85d328)\nSigned-off-by: Dongjoon Hyun <dongjoon@apache.org>","distinct":true,"url":"https://api.github.com/repos/apache/spark/commits/c29f7e20def505d3fdc2ee14a6d696a677828a4d"}]}
{"actor":{"display_login":"asfgit"}}