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
| Protocol |[HTTP](https://clickhouse.com/docs/en/interfaces/http/)|:white_check_mark:| recommended, defaults to `java.net.HttpURLConnection` and can be changed to `java.net.http.HttpClient`(faster but less stable) |
27
-
||[gRPC](https://clickhouse.com/docs/en/interfaces/grpc/)|:white_check_mark:| experimental, still missing some features like LZ4 compression |
28
-
||[TCP/Native](https://clickhouse.com/docs/en/interfaces/tcp/)|:x:| will be available in 0.3.3 |
29
-
| Compatibility | Server < 20.7 |:x:| use 0.3.1-patch(or 0.2.6 if you're stuck with JDK 7) |
30
-
|| Server >= 20.7 |:white_check_mark:| use 0.3.2 or above. All [active releases](https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Aopen+is%3Apr+label%3Arelease) are supported. |
31
-
| Data Type | AggregatedFunction |:x:| limited to `groupBitmap`|
32
-
|| Array(\*) |:white_check_mark:||
33
-
|| Date\*|:white_check_mark:||
34
-
|| DateTime\*|:white_check_mark:||
35
-
|| Decimal\*|:white_check_mark:|`SET output_format_decimal_trailing_zeros=1` in 21.9+ for consistency |
36
-
|| Enum\*|:white_check_mark:| can be treated as both string and integer |
37
-
|| Geo Types |:white_check_mark:||
38
-
|| Int\*, UInt\*|:white_check_mark:| UInt64 is mapped to `long`|
39
-
|| IPv\*|:white_check_mark:||
40
-
||\*String |:white_check_mark:||
41
-
|| Map(\*) |:white_check_mark:||
42
-
|| Nested(\*) |:white_check_mark:||
43
-
|| Tuple(\*) |:white_check_mark:||
44
-
|| UUID |:white_check_mark:||
45
-
| Format | RowBinary |:white_check_mark:|`RowBinaryWithNamesAndTypes` for query and `RowBinary` for insertion |
46
-
|| TabSeparated |:white_check_mark:| Does not support as many data types as RowBinary |
| Protocol |[HTTP](https://clickhouse.com/docs/en/interfaces/http/)|:white_check_mark:| recommended, defaults to `java.net.HttpURLConnection` and can be changed to `java.net.http.HttpClient`(faster but less stable) |
27
+
||[gRPC](https://clickhouse.com/docs/en/interfaces/grpc/)|:white_check_mark:| still experimental, known to has [issue](https://github.com/ClickHouse/ClickHouse/issues/28671#issuecomment-1087049993) when using LZ4 compression |
28
+
||[TCP/Native](https://clickhouse.com/docs/en/interfaces/tcp/)|:x:| will be available in 0.3.3 |
29
+
| Compatibility | Server < 20.7 |:x:| use 0.3.1-patch(or 0.2.6 if you're stuck with JDK 7) |
30
+
|| Server >= 20.7 |:white_check_mark:| use 0.3.2 or above. All [active releases](https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Aopen+is%3Apr+label%3Arelease) are supported. |
31
+
| Data Type | AggregatedFunction |:x:| limited to `groupBitmap`|
32
+
|| Array(\*) |:white_check_mark:||
33
+
|| Bool |:white_check_mark:||
34
+
|| Date\*|:white_check_mark:||
35
+
|| DateTime\*|:white_check_mark:||
36
+
|| Decimal\*|:white_check_mark:|`SET output_format_decimal_trailing_zeros=1` in 21.9+ for consistency |
37
+
|| Enum\*|:white_check_mark:| can be treated as both string and integer |
38
+
|| Geo Types |:white_check_mark:| Point, Ring, Polygon, and MultiPolygon |
39
+
|| Int\*, UInt\*|:white_check_mark:| UInt64 is mapped to `long`|
40
+
|| IPv\*|:white_check_mark:||
41
+
|| Map(\*) |:white_check_mark:||
42
+
|| Nested(\*) |:white_check_mark:||
43
+
|| Object('JSON') |:white_check_mark:||
44
+
|| SimpleAggregateFunction |:white_check_mark:||
45
+
||\*String |:white_check_mark:||
46
+
|| Tuple(\*) |:white_check_mark:||
47
+
|| UUID |:white_check_mark:||
48
+
| Format | RowBinary |:white_check_mark:|`RowBinaryWithNamesAndTypes` for query and `RowBinary` for insertion |
49
+
|| TabSeparated |:white_check_mark:| Does not support as many data types as RowBinary |
47
50
48
51
## Configuration
49
52
@@ -112,7 +115,7 @@ Note: in general, the new driver(v0.3.2) is a few times faster with less memory
112
115
<groupId>com.clickhouse</groupId>
113
116
<!-- or clickhouse-grpc-client if you prefer gRPC -->
@@ -225,6 +228,7 @@ In the case you prefer to test against an existing server, please follow instruc
225
228
- add below two configuration files to the existing server and expose all ports for external access
226
229
-[ports.xml](../../blob/master/clickhouse-client/src/test/resources/containers/clickhouse-server/config.d/ports.xml) - enable all ports
227
230
- and [users.xml](../../blob/master/clickhouse-client/src/test/resources/containers/clickhouse-server/users.d/users.xml) - accounts used for integration test
231
+
Note: you may need to change root element from `clickhouse` to `yandex` when testing old version of ClickHouse.
228
232
- put `test.properties` under either `~/.clickhouse` or `src/test/resources` of your project, with content like below:
0 commit comments