diff --git a/backends-clickhouse/src/main/scala/io/glutenproject/execution/CHHashAggregateExecTransformer.scala b/backends-clickhouse/src/main/scala/io/glutenproject/execution/CHHashAggregateExecTransformer.scala index d25988a7deec..5a1a6dd0aa45 100644 --- a/backends-clickhouse/src/main/scala/io/glutenproject/execution/CHHashAggregateExecTransformer.scala +++ b/backends-clickhouse/src/main/scala/io/glutenproject/execution/CHHashAggregateExecTransformer.scala @@ -73,19 +73,6 @@ case class CHHashAggregateExecTransformer( protected val modes: Seq[AggregateMode] = aggregateExpressions.map(_.mode).distinct - override protected def checkType(dataType: DataType): Boolean = { - dataType match { - case BooleanType | ByteType | ShortType | IntegerType | LongType | FloatType | DoubleType | - StringType | TimestampType | DateType | BinaryType => - true - case _: StructType => true - case d: DecimalType => true - case a: ArrayType => true - case n: NullType => true - case other => false - } - } - override def doTransform(context: SubstraitContext): TransformContext = { val childCtx = child.asInstanceOf[TransformSupport].doTransform(context) val operatorId = context.nextOperatorId(this.nodeName)