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 9a6ba3a220f1..2cf297ec97c0 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 @@ -119,7 +119,7 @@ abstract class HashAggregateExecTransformer( * @return * a project rel */ - def applyExtractStruct( + private def applyExtractStruct( context: SubstraitContext, aggRel: RelNode, operatorId: Long, @@ -260,7 +260,7 @@ abstract class HashAggregateExecTransformer( * Return the output types after partial aggregation through Velox. * @return */ - def getPartialAggOutTypes: JList[TypeNode] = { + private def getPartialAggOutTypes: JList[TypeNode] = { val typeNodeList = new JArrayList[TypeNode]() groupingExpressions.foreach( expression => { @@ -669,13 +669,13 @@ abstract class HashAggregateExecTransformer( object VeloxAggregateFunctionsBuilder { /** - * Create an scalar function for the input aggregate function. + * Create a scalar function for the input aggregate function. * @param args: * the function map. * @param aggregateFunc: * the input aggregate function. - * @param forMergeCompanion: - * whether this is a special case to solve mixed aggregation phases. + * @param mode: + * the mode of input aggregate function. * @return */ def create(