Skip to content

Commit 8cf6124

Browse files
committed
lazy_coalesce_fallback_case_statement
1 parent 25bd183 commit 8cf6124

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,11 +398,14 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
398398
withSQLConf(SQLConf.ANSI_ENABLED.key -> "true") {
399399
val data = Seq((100, 0))
400400
withParquetTable(data, "t1") {
401-
val res = spark.sql("""
402-
|SELECT coalesce(_1 , 1/0) from t1;
403-
| """.stripMargin)
401+
val res = spark.sql(
402+
"""
403+
|SELECT coalesce(_1 , 1/0) from t1;
404+
| """.stripMargin)
404405
checkSparkAnswer(res)
405406
}
407+
}
408+
}
406409

407410
test("dictionary arithmetic") {
408411
// TODO: test ANSI mode

0 commit comments

Comments
 (0)