Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohahaha committed Jan 24, 2024
1 parent 8c6b7ce commit 1b3d0a6
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b3d0a6

Please sign in to comment.