Skip to content

Commit 57ef659

Browse files
author
Bhargava Vadlamani
committed
support_ansi_mode_integral_divide
1 parent beb8cf6 commit 57ef659

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2990,7 +2990,7 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
29902990
test("ANSI support for integral divide (division by zero)") {
29912991
val data = Seq((Integer.MAX_VALUE, 0))
29922992
Seq("true", "false").foreach { p =>
2993-
withSQLConf(SQLConf.ANSI_ENABLED.key -> "true") {
2993+
withSQLConf(SQLConf.ANSI_ENABLED.key -> p) {
29942994
withParquetTable(data, "tbl") {
29952995
val res = spark.sql("""
29962996
|SELECT

0 commit comments

Comments
 (0)