File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
client-v2/src/test/java/com/clickhouse/client
jdbc-v2/src/test/java/com/clickhouse/jdbc Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ public void testProxyWithCookies() {
135
135
return ; // to specific setup for cloud, may be later
136
136
}
137
137
138
- client .set (clientBuilder (initProxy (), true ).build ());
138
+ client .set (clientBuilder (initProxy (), true )
139
+ .setHttpCookiesEnabled (true )
140
+ .build ());
139
141
final int targetPort = getServer (ClickHouseProtocol .HTTP ).getPort ();
140
142
141
143
proxy .get ().addStubMapping (post (urlMatching ("/.*" ))
Original file line number Diff line number Diff line change @@ -1071,9 +1071,11 @@ public void testJSONWritingAsString() throws SQLException {
1071
1071
return ; // JSON was introduced in 24.10
1072
1072
}
1073
1073
1074
+ Properties createProperties = new Properties ();
1075
+ createProperties .put (ClientConfigProperties .serverSetting ("allow_experimental_json_type" ), "1" );
1074
1076
runQuery ("CREATE TABLE test_json (order Int8, "
1075
1077
+ "json JSON"
1076
- + ") ENGINE = MergeTree ORDER BY ()" );
1078
+ + ") ENGINE = MergeTree ORDER BY ()" , createProperties );
1077
1079
1078
1080
// Insert random (valid) values
1079
1081
long seed = System .currentTimeMillis ();
You can’t perform that action at this time.
0 commit comments