diff --git a/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxBackend.scala b/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxBackend.scala index 990991c71660..b4f3a5df4b6d 100644 --- a/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxBackend.scala +++ b/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxBackend.scala @@ -347,7 +347,7 @@ object VeloxBackendSettings extends BackendSettingsApi { orderSpec.foreach( order => order.dataType match { - case ByteType | ShortType | IntegerType | LongType | DateType => + case ByteType | ShortType | IntegerType | LongType => case _ => throw new GlutenNotSupportException( "Only integral type & date type are" + diff --git a/backends-velox/src/test/scala/org/apache/gluten/execution/TestOperator.scala b/backends-velox/src/test/scala/org/apache/gluten/execution/TestOperator.scala index f06acabd7e36..9c1e0112bbf8 100644 --- a/backends-velox/src/test/scala/org/apache/gluten/execution/TestOperator.scala +++ b/backends-velox/src/test/scala/org/apache/gluten/execution/TestOperator.scala @@ -304,7 +304,7 @@ class TestOperator extends VeloxWholeStageTransformerSuite with AdaptiveSparkPla "select max(l_partkey) over" + " (partition by l_suppkey order by l_commitdate" + " RANGE BETWEEN 1 PRECEDING AND CURRENT ROW) from lineitem ") { - checkSparkOperatorMatch[WindowExecTransformer] + checkSparkOperatorMatch[WindowExec] } runQueryAndCompare(