Skip to content

Commit

Permalink
fix build in scala 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGuangxin committed Feb 6, 2025
1 parent f427575 commit 60a0774
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ object ColumnarPartialProjectExec extends PredicateHelper {
p => replaceExpressionUDF(p, replacedAliasUdf).asInstanceOf[NamedExpression]
}
val partialProject =
ColumnarPartialProjectExec(p, p.child)(replacedAliasUdf)
ColumnarPartialProjectExec(p, p.child)(replacedAliasUdf.toSeq)
ProjectExecTransformer(newProjectList, partialProject)
case f: FilterExec =>
val replacedAliasUdf: ListBuffer[Alias] = ListBuffer()
Expand All @@ -376,7 +376,7 @@ object ColumnarPartialProjectExec extends PredicateHelper {
.reduceLeftOption(And)
.orNull
val partialProject =
ColumnarPartialProjectExec(f, f.child)(replacedAliasUdf)
ColumnarPartialProjectExec(f, f.child)(replacedAliasUdf.toSeq)
FilterExecTransformer(newCondition, partialProject)
}

Expand Down

0 comments on commit 60a0774

Please sign in to comment.