Skip to content

Commit 19fa952

Browse files
committed
do not run string to date test on spark-3.2
1 parent 45c25ef commit 19fa952

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper {
571571
}
572572

573573
test("cast StringType to DateType") {
574+
// error message for invalid dates in Spark 3.2 not supported by Comet see below issue.
575+
// https://github.com/apache/datafusion-comet/issues/440
574576
assume(CometSparkSessionExtensions.isSpark33Plus)
575577
val validDates = Seq(
576578
"262142-01-01",

0 commit comments

Comments
 (0)