From 64d702d74d61ea829ed7a3e3b79f90ab3b0cba6c Mon Sep 17 00:00:00 2001 From: yikaifei Date: Thu, 11 Jul 2024 13:55:00 +0800 Subject: [PATCH] HiveTableScanExecTransformer should make SparkSession as transient --- .../apache/spark/sql/hive/HiveTableScanExecTransformer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluten-core/src/main/scala/org/apache/spark/sql/hive/HiveTableScanExecTransformer.scala b/gluten-core/src/main/scala/org/apache/spark/sql/hive/HiveTableScanExecTransformer.scala index 95793e5dc935..1880a8b90561 100644 --- a/gluten-core/src/main/scala/org/apache/spark/sql/hive/HiveTableScanExecTransformer.scala +++ b/gluten-core/src/main/scala/org/apache/spark/sql/hive/HiveTableScanExecTransformer.scala @@ -45,7 +45,7 @@ import java.net.URI case class HiveTableScanExecTransformer( requestedAttributes: Seq[Attribute], relation: HiveTableRelation, - partitionPruningPred: Seq[Expression])(session: SparkSession) + partitionPruningPred: Seq[Expression])(@transient session: SparkSession) extends AbstractHiveTableScanExec(requestedAttributes, relation, partitionPruningPred)(session) with BasicScanExecTransformer {