From cf779dfec90788d98fdd13d04af443e91e1db8e6 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Tue, 14 May 2024 11:48:54 -0600 Subject: [PATCH] fix regression --- .../test/scala/org/apache/comet/CometExpressionSuite.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala b/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala index 28027c5cb..ef1c5ae37 100644 --- a/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala +++ b/spark/src/test/scala/org/apache/comet/CometExpressionSuite.scala @@ -942,7 +942,9 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper { test("Chr") { Seq(false, true).foreach { dictionary => - withSQLConf("parquet.enable.dictionary" -> dictionary.toString) { + withSQLConf( + "parquet.enable.dictionary" -> dictionary.toString, + CometConf.COMET_CAST_ALLOW_INCOMPATIBLE.key -> "true") { val table = "test" withTable(table) { sql(s"create table $table(col varchar(20)) using parquet")