@@ -414,6 +414,9 @@ public void testVariantWithTuple() throws Exception {
414
414
415
415
@ Test (groups = {"integration" })
416
416
public void testVariantWithTime64Types () throws Exception {
417
+ if (isVersionMatch ("(,25.5]" )) {
418
+ return ; // time64 was introduced in 25.6
419
+ }
417
420
testVariantWith ("Time" , new String []{"field Variant(Time, String)" },
418
421
new Object []{
419
422
"30:33:30" ,
@@ -633,6 +636,10 @@ public void testDynamicWithMaps() throws Exception {
633
636
634
637
@ Test (groups = {"integration" })
635
638
public void testDynamicWithTime64Types () throws Exception {
639
+ if (isVersionMatch ("(,25.5]" )) {
640
+ return ; // time64 was introduced in 25.6
641
+ }
642
+
636
643
long _999_hours = TimeUnit .HOURS .toSeconds (999 );
637
644
testDynamicWith ("Time" ,
638
645
new Object []{
@@ -686,10 +693,11 @@ public void testAllDataTypesKnown() {
686
693
687
694
@ Test (groups = {"integration" })
688
695
public void testTimeDataType () throws Exception {
689
- if (isVersionMatch ("(,25.4 ]" )) {
690
- return ;
696
+ if (isVersionMatch ("(,25.5 ]" )) {
697
+ return ; // time64 was introduced in 25.6
691
698
}
692
699
700
+
693
701
String table = "test_time_type" ;
694
702
client .execute ("DROP TABLE IF EXISTS " + table ).get ();
695
703
client .execute (tableDefinition (table , "o_num UInt32" , "time Time" ), (CommandSettings ) new CommandSettings ().serverSetting ("allow_experimental_time_time64_type" , "1" )).get ();
@@ -724,8 +732,8 @@ record = records.get(3);
724
732
725
733
@ Test (groups = {"integration" })
726
734
public void testTime64 () throws Exception {
727
- if (isVersionMatch ("(,25.4 ]" )) {
728
- return ;
735
+ if (isVersionMatch ("(,25.5 ]" )) {
736
+ return ; // time64 was introduced in 25.6
729
737
}
730
738
731
739
String table = "test_time64_type" ;
0 commit comments