Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lincoln-lil committed Aug 6, 2024
1 parent a9cddd1 commit 746b82f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ object OverAggregateUtil {
aggCalls: Seq[AggregateCall]): RelDataType = {

val inputNameList = inputType.getFieldNames
val inputTypeList = inputType.getFieldList.asScala.map(field => field.getType)
val inputTypeList = inputType.getFieldList.asScala.map(_.getType)

// we should avoid duplicated names with input column names
val aggNames = RowTypeUtils.getUniqueName(aggCalls.map(_.getName), inputNameList)
Expand Down

0 comments on commit 746b82f

Please sign in to comment.