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
This is a wrapper of ClickHouse native command-line client. In order to use it, please make sure 1) either the native command-line client or docker is installed; and 2) `clickhouse_cli_path` or `docker_cli_path` is configured properly.
4
+
5
+
Unlike `clickhouse-http-client`, this module is not designed for dealing with many queries in short period of time, because it uses sub-process(NOT thread) and file-based streaming. Having said that, it provides an alternative, usually faster,way to dump and load large data sets. Besides, due to its simplicity, it can be used as an example to demonstrate how to implement SPI defined in `clickhouse-client`.
6
+
7
+
## Limitations and Known Issues
8
+
9
+
- Only `max_result_rows` and `result_overflow_mode` two settings are currently supported
10
+
- ClickHouseResponseSummary is always empty - see ClickHouse/ClickHouse#37241
11
+
- Session is not supported and query cannot be cancelled - see ClickHouse/ClickHouse#37308
12
+
13
+
## Maven Dependency
14
+
15
+
```xml
16
+
<dependency>
17
+
<!-- will stop using ru.yandex.clickhouse starting from 0.4.0 -->
18
+
<groupId>com.clickhouse</groupId>
19
+
<artifactId>clickhouse-cli-client</artifactId>
20
+
<version>0.3.2-patch9</version>
21
+
</dependency>
22
+
```
23
+
24
+
## Examples
25
+
26
+
```java
27
+
// make sure 'clickhouse-client' or 'docker' is in PATH before you start the program
28
+
// alternatively, configure CLI path in either Java system property or environment variable, for examples:
0 commit comments