diff --git a/backends-velox/src/main/scala/org/apache/gluten/execution/HashAggregateExecTransformer.scala b/backends-velox/src/main/scala/org/apache/gluten/execution/HashAggregateExecTransformer.scala
index 4f33ae7c718c..a80acb9949fc 100644
--- a/backends-velox/src/main/scala/org/apache/gluten/execution/HashAggregateExecTransformer.scala
+++ b/backends-velox/src/main/scala/org/apache/gluten/execution/HashAggregateExecTransformer.scala
@@ -396,7 +396,7 @@ abstract class HashAggregateExecTransformer(
childNodes.add(expressionNode)
}
}
- exprNodes.add(getRowConstructNode(args, childNodes, newInputAttributes, aggFunc))
+ exprNodes.add(getRowConstructNode(args, childNodes, newInputAttributes.toSeq, aggFunc))
case other =>
throw new GlutenNotSupportException(s"$other is not supported.")
}
diff --git a/gluten-data/src/main/scala/org/apache/spark/sql/utils/SparkArrowUtil.scala b/gluten-data/src/main/scala/org/apache/spark/sql/utils/SparkArrowUtil.scala
index 014956d84e9c..4b6bb353e75e 100644
--- a/gluten-data/src/main/scala/org/apache/spark/sql/utils/SparkArrowUtil.scala
+++ b/gluten-data/src/main/scala/org/apache/spark/sql/utils/SparkArrowUtil.scala
@@ -134,7 +134,7 @@ object SparkArrowUtil {
val dt = fromArrowField(child)
StructField(child.getName, dt, child.isNullable)
}
- StructType(fields)
+ StructType(fields.toSeq)
case arrowType => fromArrowType(arrowType)
}
}
diff --git a/shims/spark32/pom.xml b/shims/spark32/pom.xml
index 2a3ed7400c9c..394139658ca6 100644
--- a/shims/spark32/pom.xml
+++ b/shims/spark32/pom.xml
@@ -43,13 +43,13 @@
org.apache.spark
- spark-catalyst_2.12
+ spark-catalyst_${scala.binary.version}
provided
true
org.apache.spark
- spark-core_2.12
+ spark-core_${scala.binary.version}
provided
true
diff --git a/shims/spark33/pom.xml b/shims/spark33/pom.xml
index 725d1f8edf01..65c66a573077 100644
--- a/shims/spark33/pom.xml
+++ b/shims/spark33/pom.xml
@@ -43,13 +43,13 @@
org.apache.spark
- spark-catalyst_2.12
+ spark-catalyst_${scala.binary.version}
provided
true
org.apache.spark
- spark-core_2.12
+ spark-core_${scala.binary.version}
provided
true
diff --git a/shims/spark34/pom.xml b/shims/spark34/pom.xml
index 9cc9bb409bea..281f7db07ee7 100644
--- a/shims/spark34/pom.xml
+++ b/shims/spark34/pom.xml
@@ -43,13 +43,13 @@
org.apache.spark
- spark-catalyst_2.12
+ spark-catalyst_${scala.binary.version}
provided
true
org.apache.spark
- spark-core_2.12
+ spark-core_${scala.binary.version}
provided
true