From 5b45900c0295f481576c0ab94fd82184c2402927 Mon Sep 17 00:00:00 2001 From: kevinyhzou Date: Mon, 19 Aug 2024 10:40:21 +0800 Subject: [PATCH] remove useless code --- .../scala/org/apache/gluten/utils/CHExpressionUtil.scala | 7 ------- 1 file changed, 7 deletions(-) diff --git a/backends-clickhouse/src/main/scala/org/apache/gluten/utils/CHExpressionUtil.scala b/backends-clickhouse/src/main/scala/org/apache/gluten/utils/CHExpressionUtil.scala index 2b1b7ba2f084..f1a18274c0eb 100644 --- a/backends-clickhouse/src/main/scala/org/apache/gluten/utils/CHExpressionUtil.scala +++ b/backends-clickhouse/src/main/scala/org/apache/gluten/utils/CHExpressionUtil.scala @@ -159,13 +159,6 @@ case class EncodeDecodeValidator() extends FunctionValidator { } } -case class ArrayJoinValidator() extends FunctionValidator { - override def doValidate(expr: Expression): Boolean = expr match { - case t: ArrayJoin => !t.children.head.isInstanceOf[Literal] - case _ => true - } -} - case class FormatStringValidator() extends FunctionValidator { override def doValidate(expr: Expression): Boolean = { val formatString = expr.asInstanceOf[FormatString]