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: README.md
+46-11
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Java libraries for connecting to ClickHouse and processing data in various forma
25
25
||[zstd](https://facebook.github.io/zstd/)|:white_check_mark:| supported since 0.4.0, works with ClickHouse 22.10+ |
26
26
| Data Format | RowBinary |:white_check_mark:|`RowBinaryWithNamesAndTypes` for query and `RowBinary` for insertion |
27
27
|| TabSeparated |:white_check_mark:|:warning: does not support as many data types as RowBinary |
28
-
| Data Type |AggregatedFunction|:x:|:warning: limited to `groupBitmap`; 64bit bitmap was NOT working properly before 0.4.1 |
28
+
| Data Type |AggregateFunction |:x:|:warning: limited to `groupBitmap`; 64bit bitmap was NOT working properly before 0.4.1 |
29
29
|| Array(\*) |:white_check_mark:||
30
30
|| Bool |:white_check_mark:||
31
31
|| Date\*|:white_check_mark:||
@@ -133,20 +133,11 @@ More examples can be found at [here](../../tree/main/examples/jdbc).
133
133
134
134
## Build with Maven
135
135
136
-
Use `mvn -Dj8 -DskipITs clean verify` to compile and generate packages if you're using JDK 8. To create a multi-release jar (see [JEP-238](https://openjdk.java.net/jeps/238)), please use JDK 11+ with `~/.m2/toolchains.xml` like below, and run `mvn -DskipITs clean verify` instead.
136
+
Use `mvn -Dj8 -DskipITs clean verify` to compile and generate packages if you're using JDK 8. To create a multi-release jar (see [JEP-238](https://openjdk.java.net/jeps/238)), please use JDK 17+ with `~/.m2/toolchains.xml` like below, and run `mvn -DskipITs clean verify` instead.
137
137
138
138
```xml
139
139
<?xml version="1.0" encoding="UTF8"?>
140
140
<toolchains>
141
-
<toolchain>
142
-
<type>jdk</type>
143
-
<provides>
144
-
<version>11</version>
145
-
</provides>
146
-
<configuration>
147
-
<jdkHome>/usr/lib/jvm/java-11-openjdk</jdkHome>
148
-
</configuration>
149
-
</toolchain>
150
141
<toolchain>
151
142
<type>jdk</type>
152
143
<provides>
@@ -159,6 +150,50 @@ Use `mvn -Dj8 -DskipITs clean verify` to compile and generate packages if you're
159
150
</toolchains>
160
151
```
161
152
153
+
To create a native binary of JDBC driver for evaluation and testing:
154
+
155
+
-[install GraalVM](https://www.graalvm.org/latest/docs/getting-started/) and optionally [upx](https://upx.github.io/)
156
+
157
+
- make sure you have [native-image](https://www.graalvm.org/latest/docs/getting-started/#native-image) installed, and then build the native binary
Processed 500,000,000 rows in 25,267.89 ms (19,787,963.94 rows/s)
195
+
```
196
+
162
197
## Testing
163
198
164
199
By default, [docker](https://docs.docker.com/engine/install/) is required to run integration test. Docker image(defaults to `clickhouse/clickhouse-server`) will be pulled from Internet, and containers will be created automatically by [testcontainers](https://www.testcontainers.org/) before testing. To test against specific version of ClickHouse, you can pass parameter like `-DclickhouseVersion=22.8` to Maven.
0 commit comments