Skip to content

Commit 8771fa1

Browse files
authored
Merge pull request #997 from Altinity/integration_test_fixes
Fixed Integration tests.
2 parents e214ffc + d8b7e8f commit 8771fa1

File tree

15 files changed

+58
-172
lines changed

15 files changed

+58
-172
lines changed

.github/workflows/sink-connector-kafka-tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
java-kafka:
22-
runs-on: ubuntu-latest
22+
runs-on: [ self-hosted, on-demand, type-cpx51, image-x86-app-docker-ce ]
2323
steps:
2424
- uses: actions/checkout@v2
2525
- name: Set up JDK 17
@@ -28,9 +28,11 @@ jobs:
2828
java-version: '17'
2929
distribution: 'temurin'
3030
cache: maven
31+
- name: Install maven
32+
run: sudo apt-get update && sudo apt-get install -y maven
3133
- name: Build with Maven
3234
working-directory: sink-connector
33-
run: mvn -B package --file pom.xml
35+
run: mvn -B package -DskipTests=true --file pom.xml
3436
- name: Run Unit tests
3537
working-directory: sink-connector
36-
run: mvn test -Dgroups=IntegrationTest --file pom.xml
38+
run: mvn test --file pom.xml

sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/CreateTableDataTypesTimeZoneIT.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public void testCreateTable() throws Exception {
178178
System.out.println(dateTimeResult.getTimestamp("Minimum_Value").toString());
179179

180180
Assert.assertTrue(dateTimeResult.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:47:46.0"));
181-
Assert.assertTrue(dateTimeResult.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999"));
181+
Assert.assertTrue(dateTimeResult.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
182182
Assert.assertTrue(dateTimeResult.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
183183
}
184184
Assert.assertTrue(dateTimeResultValueChecked);
@@ -196,7 +196,7 @@ public void testCreateTable() throws Exception {
196196
System.out.println(dateTimeResult1.getTimestamp("Minimum_Value").toString());
197197

198198
Assert.assertTrue(dateTimeResult1.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:48:25.1"));
199-
Assert.assertTrue(dateTimeResult1.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.9"));
199+
Assert.assertTrue(dateTimeResult1.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
200200
Assert.assertTrue(dateTimeResult1.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
201201
}
202202
Assert.assertTrue(dateTimeResult1ValueChecked);
@@ -210,7 +210,7 @@ public void testCreateTable() throws Exception {
210210
System.out.println(dateTimeResult2.getTimestamp("Minimum_Value").toString());
211211

212212
Assert.assertTrue(dateTimeResult2.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:49:05.12"));
213-
Assert.assertTrue(dateTimeResult2.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.99"));
213+
Assert.assertTrue(dateTimeResult2.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
214214
Assert.assertTrue(dateTimeResult2.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
215215
}
216216

@@ -224,7 +224,7 @@ public void testCreateTable() throws Exception {
224224
System.out.println(dateTimeResult3.getTimestamp("Minimum_Value").toString());
225225

226226
Assert.assertTrue(dateTimeResult3.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:49:22.123"));
227-
Assert.assertTrue(dateTimeResult3.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999"));
227+
Assert.assertTrue(dateTimeResult3.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
228228
Assert.assertTrue(dateTimeResult3.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
229229
}
230230

@@ -239,7 +239,7 @@ public void testCreateTable() throws Exception {
239239
System.out.println(dateTimeResult4.getTimestamp("Minimum_Value").toString());
240240

241241
Assert.assertTrue(dateTimeResult4.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:12.1234"));
242-
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.9999"));
242+
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
243243
Assert.assertTrue(dateTimeResult4.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
244244

245245
}
@@ -255,7 +255,7 @@ public void testCreateTable() throws Exception {
255255
System.out.println(dateTimeResult5.getTimestamp("Minimum_Value").toString());
256256

257257
Assert.assertTrue(dateTimeResult5.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:28.12345"));
258-
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.99999"));
258+
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
259259
Assert.assertTrue(dateTimeResult5.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
260260

261261
}
@@ -270,7 +270,7 @@ public void testCreateTable() throws Exception {
270270
System.out.println(dateTimeResult6.getTimestamp("Minimum_Value").toString());
271271

272272
Assert.assertTrue(dateTimeResult6.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:56.123456"));
273-
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
273+
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
274274
Assert.assertTrue(dateTimeResult6.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
275275
break;
276276

sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/DateTimeWithTimeZoneColumnSchemaOnlyIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void testSchemaOnlyMode() throws Exception {
138138

139139
Assert.assertTrue(dateTimeResult.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 00:00:00.0"));
140140
Assert.assertTrue(dateTimeResult.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-29 01:47:46.0"));
141-
Assert.assertTrue(dateTimeResult.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 23:59:59.9"));
141+
Assert.assertTrue(dateTimeResult.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 23:59:59.0"));
142142
}
143143

144144
if(engine.get() != null) {

sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/DateTimeWithTimeZoneIT.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void testCreateTable() throws Exception {
9797

9898
Assert.assertTrue(dateTimeResult.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
9999
Assert.assertTrue(dateTimeResult.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:47:46.0"));
100-
Assert.assertTrue(dateTimeResult.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999"));
100+
Assert.assertTrue(dateTimeResult.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
101101
}
102102

103103
// DATETIME1
@@ -110,7 +110,7 @@ public void testCreateTable() throws Exception {
110110

111111
Assert.assertTrue(dateTimeResult1.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
112112
Assert.assertTrue(dateTimeResult1.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:48:25.1"));
113-
Assert.assertTrue(dateTimeResult1.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.9"));
113+
Assert.assertTrue(dateTimeResult1.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
114114
}
115115

116116
// DATETIME2
@@ -123,7 +123,7 @@ public void testCreateTable() throws Exception {
123123

124124
Assert.assertTrue(dateTimeResult2.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
125125
Assert.assertTrue(dateTimeResult2.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:49:05.12"));
126-
Assert.assertTrue(dateTimeResult2.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.99"));
126+
Assert.assertTrue(dateTimeResult2.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
127127
}
128128

129129
// DATETIME3
@@ -136,7 +136,7 @@ public void testCreateTable() throws Exception {
136136
System.out.println(dateTimeResult3.getTimestamp("Minimum_Value").toString());
137137

138138
Assert.assertTrue(dateTimeResult3.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:49:22.123"));
139-
Assert.assertTrue(dateTimeResult3.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999"));
139+
Assert.assertTrue(dateTimeResult3.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
140140
Assert.assertTrue(dateTimeResult3.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
141141
}
142142

@@ -151,7 +151,7 @@ public void testCreateTable() throws Exception {
151151
System.out.println(dateTimeResult4.getTimestamp("Minimum_Value").toString());
152152

153153
Assert.assertTrue(dateTimeResult4.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:12.1234"));
154-
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.9999"));
154+
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
155155
Assert.assertTrue(dateTimeResult4.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
156156

157157
}
@@ -167,7 +167,7 @@ public void testCreateTable() throws Exception {
167167
System.out.println(dateTimeResult5.getTimestamp("Minimum_Value").toString());
168168

169169
Assert.assertTrue(dateTimeResult5.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:28.12345"));
170-
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.99999"));
170+
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
171171
Assert.assertTrue(dateTimeResult5.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
172172

173173
}
@@ -182,7 +182,7 @@ public void testCreateTable() throws Exception {
182182
System.out.println(dateTimeResult6.getTimestamp("Minimum_Value").toString());
183183

184184
Assert.assertTrue(dateTimeResult6.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:56.123456"));
185-
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
185+
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
186186
Assert.assertTrue(dateTimeResult6.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
187187

188188
break;

sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/DateTimeWithTimeZoneSchemaOnlyIT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public void testCreateTable() throws Exception {
179179
System.out.println(dateTimeResult4.getTimestamp("Minimum_Value").toString());
180180

181181
Assert.assertTrue(dateTimeResult4.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:12.1234"));
182-
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
182+
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
183183
Assert.assertTrue(dateTimeResult4.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
184184

185185
}
@@ -195,7 +195,7 @@ public void testCreateTable() throws Exception {
195195
System.out.println(dateTimeResult5.getTimestamp("Minimum_Value").toString());
196196

197197
Assert.assertTrue(dateTimeResult5.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:28.12345"));
198-
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
198+
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
199199
Assert.assertTrue(dateTimeResult5.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
200200

201201
}
@@ -210,7 +210,7 @@ public void testCreateTable() throws Exception {
210210
System.out.println(dateTimeResult6.getTimestamp("Minimum_Value").toString());
211211

212212
Assert.assertTrue(dateTimeResult6.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:56.123456"));
213-
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
213+
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
214214
Assert.assertTrue(dateTimeResult6.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
215215
break;
216216
}
@@ -225,7 +225,7 @@ public void testCreateTable() throws Exception {
225225
System.out.println(dateTimeResult7.getTimestamp("Minimum_Value").toString());
226226

227227
Assert.assertTrue(dateTimeResult7.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:56.123456"));
228-
Assert.assertTrue(dateTimeResult7.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
228+
Assert.assertTrue(dateTimeResult7.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
229229
Assert.assertTrue(dateTimeResult7.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
230230
break;
231231
}

sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/DateTimeWithUserProvidedDifferentTimeZoneIT.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,27 +85,27 @@ public void testCreateTable() throws Exception {
8585

8686
String DATETIME1_MIN = "1900-01-01 00:00:00.0";
8787
String DATETIME1_MID = "2022-09-29 01:48:25.1";
88-
String DATETIME1_MAX = "2299-12-31 23:59:59.9";
88+
String DATETIME1_MAX = "2299-12-31 23:59:59.0";
8989

9090
String DATETIME2_MIN = "1900-01-01 00:00:00.0";
9191
String DATETIME2_MID = "2022-09-29 01:49:05.12";
92-
String DATETIME2_MAX = "2299-12-31 23:59:59.99";
92+
String DATETIME2_MAX = "2299-12-31 23:59:59.0";
9393

9494
String DATETIME3_MIN = "1900-01-01 00:00:00.0";
9595
String DATETIME3_MID = "2022-09-29 01:49:22.123";
96-
String DATETIME3_MAX = "2299-12-31 23:59:59.999";
96+
String DATETIME3_MAX = "2299-12-31 23:59:59.0";
9797

9898
String DATETIME4_MIN = "1900-01-01 00:00:00.0";
9999
String DATETIME4_MID = "2022-09-29 01:50:12.1234";
100-
String DATETIME4_MAX = "2299-12-31 23:59:59.9999";
100+
String DATETIME4_MAX = "2299-12-31 23:59:59.0";
101101

102102
String DATETIME5_MIN = "1900-01-01 00:00:00.0";
103103
String DATETIME5_MID = "2022-09-29 01:50:28.12345";
104-
String DATETIME5_MAX = "2299-12-31 23:59:59.99999";
104+
String DATETIME5_MAX = "2299-12-31 23:59:59.0";
105105

106106
String DATETIME6_MIN = "1900-01-01 00:00:00.0";
107107
String DATETIME6_MID = "2022-09-29 01:50:56.123456";
108-
String DATETIME6_MAX = "2299-12-31 23:59:59.999999";
108+
String DATETIME6_MAX = "2299-12-31 23:59:59.0";
109109

110110
BaseDbWriter writer = ITCommon.getDBWriter(clickHouseContainer);
111111

sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/DateTimeWithUserProvidedTimeZoneSchemaOnlyIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void testCreateTable() throws Exception {
180180
System.out.println(dateTimeResult4.getTimestamp("Minimum_Value").toString());
181181

182182
Assert.assertTrue(dateTimeResult4.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:12.1234"));
183-
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
183+
Assert.assertTrue(dateTimeResult4.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
184184
Assert.assertTrue(dateTimeResult4.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
185185

186186
}
@@ -196,7 +196,7 @@ public void testCreateTable() throws Exception {
196196
System.out.println(dateTimeResult5.getTimestamp("Minimum_Value").toString());
197197

198198
Assert.assertTrue(dateTimeResult5.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:28.12345"));
199-
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
199+
Assert.assertTrue(dateTimeResult5.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
200200
Assert.assertTrue(dateTimeResult5.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
201201

202202
}
@@ -211,7 +211,7 @@ public void testCreateTable() throws Exception {
211211
System.out.println(dateTimeResult6.getTimestamp("Minimum_Value").toString());
212212

213213
Assert.assertTrue(dateTimeResult6.getTimestamp("Mid_Value").toString().equalsIgnoreCase("2022-09-28 20:50:56.123456"));
214-
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.999999"));
214+
Assert.assertTrue(dateTimeResult6.getTimestamp("Maximum_Value").toString().equalsIgnoreCase("2299-12-31 17:59:59.0"));
215215
Assert.assertTrue(dateTimeResult6.getTimestamp("Minimum_Value").toString().equalsIgnoreCase("1900-01-01 18:00:00.0"));
216216
break;
217217
}

sink-connector/src/main/java/com/altinity/clickhouse/sink/connector/metadata/DataTypeRange.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ public class DataTypeRange
3131

3232
// DateTime max limits.
3333
public static final String DATETIME_MIN="1900-01-01 00:00:00.0";
34-
public static final String DATETIME_MAX="2299-12-31 23:59:59.999";
34+
public static final String DATETIME_MAX="2299-12-31 23:59:59.0";
3535

36-
public static final String DATETIME_1_MAX = "2299-12-31 23:59:59.9";
36+
public static final String DATETIME_1_MAX = "2299-12-31 23:59:59.0";
3737

38-
public static final String DATETIME_2_MAX = "2299-12-31 23:59:59.99";
38+
public static final String DATETIME_2_MAX = "2299-12-31 23:59:59.0";
3939

40-
public static final String DATETIME_3_MAX = "2299-12-31 23:59:59.999";
40+
public static final String DATETIME_3_MAX = "2299-12-31 23:59:59.0";
4141

42-
public static final String DATETIME_4_MAX = "2299-12-31 23:59:59.9999";
42+
public static final String DATETIME_4_MAX = "2299-12-31 23:59:59.0";
4343

44-
public static final String DATETIME_5_MAX = "2299-12-31 23:59:59.99999";
44+
public static final String DATETIME_5_MAX = "2299-12-31 23:59:59.0";
4545

46-
public static final String DATETIME_6_MAX = "2299-12-31 23:59:59.999999";
46+
public static final String DATETIME_6_MAX = "2299-12-31 23:59:59.0";
4747

48-
public static final String DATETIME64_6_MAX = "2299-12-31 23:59:59.00000000";
48+
public static final String DATETIME64_6_MAX = "2299-12-31 23:59:59.0";
4949

5050
}

0 commit comments

Comments
 (0)