Skip to content

Commit 86fecfb

Browse files
author
Davies Liu
committed
disable two timestamp tests
1 parent 8f77ee0 commit 86fecfb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,11 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter {
252252
"load_dyn_part14.*", // These work alone but fail when run with other tests...
253253

254254
// the answer is sensitive for jdk version
255-
"udf_java_method"
255+
"udf_java_method",
256+
257+
// Spark SQL use Long for TimestampType, lose the precision under 100ns
258+
"timestamp_1",
259+
"timestamp_2"
256260
)
257261

258262
/**
@@ -795,8 +799,6 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter {
795799
"stats_publisher_error_1",
796800
"subq2",
797801
"tablename_with_select",
798-
"timestamp_1",
799-
"timestamp_2",
800802
"timestamp_3",
801803
"timestamp_comparison",
802804
"timestamp_lazy",

0 commit comments

Comments
 (0)