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-e2e-test/src/test/java/org/apache/flink/connector/clickhouse/ClickhouseE2ECase.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ public void testSink() throws Exception {
27
27
CLICKHOUSE_CONTAINER.getJdbcUrl(),
28
28
CLICKHOUSE_CONTAINER.getUsername(),
29
29
CLICKHOUSE_CONTAINER.getPassword());
30
+
Thread.sleep(5000);
31
+
30
32
proxy.execute(
31
33
"create table test (id Int32, name String, float32_column Float32, date_column Date,datetime_column DateTime, array_column Array(Int32)) engine = Memory");
32
34
proxy.execute(
@@ -52,7 +54,9 @@ public void testSink() throws Exception {
52
54
+ "',\n"
53
55
+ " 'table-name' = 'test',\n"
54
56
+ " 'username'='test_username',\n"
55
-
+ " 'password'='test_password'\n"
57
+
+ " 'password'='test_password',\n"
58
+
+ " 'properties.compress' = 'false',\n"
59
+
+ " 'properties.decompress' = 'false'\n"
56
60
+ ");");
57
61
sqlLines.add(
58
62
"create table test (id int, name varchar,float32_column FLOAT,\n"
@@ -63,7 +67,9 @@ public void testSink() throws Exception {
63
67
+ "',\n"
64
68
+ " 'table-name' = 'test_insert',\n"
65
69
+ " 'username'='test_username',\n"
66
-
+ " 'password'='test_password'\n"
70
+
+ " 'password'='test_password',\n"
71
+
+ " 'properties.compress' = 'false',\n"
72
+
+ " 'properties.decompress' = 'false'\n"
67
73
+ ");");
68
74
sqlLines.add("insert into test select * from clickhouse_test;");
69
75
@@ -86,7 +92,7 @@ public void testSink() throws Exception {
Copy file name to clipboardExpand all lines: flink-connector-clickhouse-e2e-test/src/test/java/org/apache/flink/connector/clickhouse/ClickhouseProxy.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
21
21
/** A proxy for Clickhouse to execute SQLs and check results. */
Copy file name to clipboardExpand all lines: flink-connector-clickhouse-e2e-test/src/test/java/org/apache/flink/connector/clickhouse/FlinkContainerTestEnvironment.java
0 commit comments