Skip to content

Commit bd49514

Browse files
author
B Vadlamani
committed
fix_bool_to_timestamp_support
1 parent b297733 commit bd49514

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper {
168168
}
169169

170170
test("cast BooleanType to TimestampType") {
171-
// Arrow error: Cast error: Casting from Boolean to Timestamp(Microsecond, Some("UTC")) not supported
172-
castTest(generateBools(), DataTypes.TimestampType)
171+
// Spark does not support ANSI or Try mode for Boolean to Timestamp
172+
castTest(generateBools(), DataTypes.TimestampType, testAnsi = false, testTry = false)
173173
}
174174

175175
// CAST from ByteType

0 commit comments

Comments
 (0)