Skip to content

Commit

Permalink
spark 3.2 does not support cast timestamp to string
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed May 3, 2024
1 parent 6738544 commit a1bfdee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spark/src/test/scala/org/apache/comet/CometCastSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper {
}

test("cast TimestampType to LongType") {
assume(CometSparkSessionExtensions.isSpark33Plus)
castTest(generateTimestamps(), DataTypes.LongType)
}

Expand Down

0 comments on commit a1bfdee

Please sign in to comment.