You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flink-connector-clickhouse-1.17/src/test/java/org/apache/flink/connector/clickhouse/sink/ClickHouseSinkTests.java
+52-83Lines changed: 52 additions & 83 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,56 @@ public class ClickHouseSinkTests extends FlinkClusterTests {
Copy file name to clipboardExpand all lines: flink-connector-clickhouse-1.17/src/test/java/org/apache/flink/connector/clickhouse/sink/convertor/SimplePOJOConvertor.java
Copy file name to clipboardExpand all lines: flink-connector-clickhouse-1.17/src/test/java/org/apache/flink/connector/clickhouse/sink/pojo/SimplePOJO.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
importjava.math.BigInteger;
5
5
importjava.time.LocalDate;
6
6
importjava.time.LocalDateTime;
7
+
importjava.util.UUID;
7
8
8
9
publicclassSimplePOJO {
9
10
@@ -61,6 +62,8 @@ public class SimplePOJO {
61
62
privateLocalDateTimedateTime;
62
63
privateLocalDateTimedateTime64;
63
64
65
+
privateUUIDuuid;
66
+
64
67
publicSimplePOJO(intindex) {
65
68
this.bytePrimitive = Byte.MIN_VALUE;
66
69
this.byteObject = Byte.MAX_VALUE;
@@ -115,6 +118,7 @@ public SimplePOJO(int index) {
115
118
this.dateTime = LocalDateTime.now();
116
119
this.dateTime64 = LocalDateTime.now();
117
120
121
+
this.uuid = UUID.randomUUID();
118
122
}
119
123
120
124
publicbytegetBytePrimitive() {
@@ -215,4 +219,6 @@ public Double getDoubleObject() {
0 commit comments