From a1bfdee5723937c6b8ceb95b2a08745fa1e0e809 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Thu, 2 May 2024 18:02:34 -0600 Subject: [PATCH] spark 3.2 does not support cast timestamp to string --- spark/src/test/scala/org/apache/comet/CometCastSuite.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/spark/src/test/scala/org/apache/comet/CometCastSuite.scala b/spark/src/test/scala/org/apache/comet/CometCastSuite.scala index 14ea5fa53..5a55723c8 100644 --- a/spark/src/test/scala/org/apache/comet/CometCastSuite.scala +++ b/spark/src/test/scala/org/apache/comet/CometCastSuite.scala @@ -662,6 +662,7 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper { } test("cast TimestampType to LongType") { + assume(CometSparkSessionExtensions.isSpark33Plus) castTest(generateTimestamps(), DataTypes.LongType) }