Skip to content

Commit 82c3f89

Browse files
committed
minor change
1 parent 45438f6 commit 82c3f89

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

backends-velox/src/test/scala/org/apache/gluten/functions/ArithmeticAnsiValidateSuite.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ class ArithmeticAnsiValidateSuite extends FunctionsValidateSuite {
7676
runQueryAndCompare("SELECT int_field1 div 2 FROM datatab WHERE int_field1 IS NOT NULL") {
7777
checkGlutenOperatorMatch[ProjectExecTransformer]
7878
}
79-
intercept[SparkException] {
80-
sql("SELECT 1 div 0 ").collect()
79+
if (isSparkVersionGE("3.4")) {
80+
intercept[SparkException] {
81+
sql("SELECT 1 div 0 ").collect()
82+
}
8183
}
8284
}
8385

0 commit comments

Comments
 (0)