diff --git a/backends-velox/src/main/scala/io/glutenproject/execution/HashAggregateExecTransformer.scala b/backends-velox/src/main/scala/io/glutenproject/execution/HashAggregateExecTransformer.scala index cbe0beab24c9..f71509d5c36c 100644 --- a/backends-velox/src/main/scala/io/glutenproject/execution/HashAggregateExecTransformer.scala +++ b/backends-velox/src/main/scala/io/glutenproject/execution/HashAggregateExecTransformer.scala @@ -140,11 +140,6 @@ abstract class HashAggregateExecTransformer( } for (expr <- aggregateExpressions) { - expr.mode match { - case Partial | PartialMerge => - case _ => - throw new GlutenNotSupportException(s"${expr.mode} not supported.") - } val aggFunc = expr.aggregateFunction aggFunc match { case _ @VeloxIntermediateData.Type(veloxTypes: Seq[DataType]) =>