Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,694 changes: 2 additions & 1,692 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Feature work and big changes must be discussed through an issue, and the impleme
- what user-visible behavior will change
- what compatibility risks exist
- what tests will prove the behavior
- whether documentation, `CHANGELOG.md`, or `docs/features.md` needs to change
- whether documentation, new file about change in `/history/latest`, or `docs/features.md` needs to change

Please review our (AI Policy)[AI_POLICY.MD] if you are using AI tools. Special attention should be paid to tests because they are the main guardrails for code changes.

Expand Down Expand Up @@ -75,7 +75,7 @@ Steps:
- Include compatibility impact
- Run self-review of the code (personally or by AI). This reduces PR time.
- Run tests locally. IMPORTANT: We skip PR that has failed CI and ask to fix it.
- Update `CHANGELOG.md` shortly with what was the problem and how fixed. Add link to the issue.
- Add change record as separate file with name `<issue ref number>.md` to `/history/latest` shortly with what was the problem and how fixed. Add link to the issue.
- Update `docs/features.md` when `client-v2` or `jdbc-v2` feature was added, removed, or intentionally behaviour change. This file helps to review code.

Use `docs/review-template.md` as a reference for what reviewers will look for when assessing important changes.
Expand Down
22 changes: 1 addition & 21 deletions docs/clickhouse-docs/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,16 @@ The library provides its own API to send requests to a server. The library also
## Setup {#setup}

- Maven Central (project web page): https://mvnrepository.com/artifact/com.clickhouse/client-v2
- Nightly builds (repository link): https://central.sonatype.com/repository/maven-snapshots/
<br/>
<Tabs>
<Tab title="Maven">

```xml
<dependency>
<groupId>com.clickhouse</groupId>
<artifactId>client-v2</artifactId>
<version>0.9.8</version>
<version>0.10.0</version>
Comment thread
chernser marked this conversation as resolved.
</dependency>
```

</Tab>
<Tab title="Gradle (Kotlin)">

```kotlin
// https://mvnrepository.com/artifact/com.clickhouse/client-v2
implementation("com.clickhouse:client-v2:0.9.8")
```
</Tab>
<Tab title="Gradle">

```groovy
// https://mvnrepository.com/artifact/com.clickhouse/client-v2
implementation 'com.clickhouse:client-v2:0.9.8'
```

</Tab>
</Tabs>
<br/>

## Initialization {#initialization}
Expand Down
12 changes: 8 additions & 4 deletions docs/clickhouse-docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ Java Client was developed far back in 2015. Its codebase became very hard to mai
|Variant |✔ |✗ |
|Dynamic |✔ |✗ |
|JSON |✔ |✗ |
|MultiPoint |✔ |✗ |
|BFloat16 |✔ |✗ |
|QBit |✔ |✗ |

[ClickHouse Data Types](/reference/data-types/index)

Expand All @@ -97,10 +100,10 @@ Table of features of the clients:
| Name | Client V2 | Client V1 | Comments
|----------------------------------------------|:---------:|:---------:|:---------:|
| Http Connection |✔ |✔ | |
| Http Compression (LZ4) |✔ |✔ | |
| Http Compression |✔ |✔ | |
| Application Controlled Compression |✔ |✗ | |
| Server Response Compression - LZ4 |✔ |✔ | |
| Client Request Compression - LZ4 |✔ |✔ | |
| Server Response Compression - LZ4, ZSTD |✔ |✗ | |
| Client Request Compression - LZ4, ZSTD |✔ |✔ | |
| HTTPS |✔ |✔ | |
| Client SSL Cert (mTLS) |✔ |✔ | |
| Http Proxy |✔ |✔ | |
Expand All @@ -115,7 +118,8 @@ Table of features of the clients:
| Session Roles |✔ |✔ | |
| SSL Client Authentication |✔ |✔ | |
| SNI Configuration |✔ |✗ | |
| Session timezone |✔ |✔ | |
| Sessions |✔ |✔ | |
| Telemetry (tracing, metrics) |✔ |✗ | |

JDBC Drive inherits same features as underlying client implementation. Other JDBC features are listed on its [page](/integrations/language-clients/java/jdbc).

Expand Down
39 changes: 9 additions & 30 deletions docs/clickhouse-docs/jdbc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,15 @@ We recommend using the latest java client directly if performance/direct access

### Setup {#setup}

<Tabs>
<Tab title="Maven">

```xml
{/* https://mvnrepository.com/artifact/com.clickhouse/clickhouse-jdbc */}
<dependency>
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<version>0.9.8</version>
<classifier>all</classifier>
</dependency>
```

</Tab>
<Tab title="Gradle (Kotlin)">

```kotlin
// https://mvnrepository.com/artifact/com.clickhouse/clickhouse-jdbc
implementation("com.clickhouse:clickhouse-jdbc:0.9.8:all")
```
</Tab>
<Tab title="Gradle">

```groovy
// https://mvnrepository.com/artifact/com.clickhouse/clickhouse-jdbc
implementation 'com.clickhouse:clickhouse-jdbc:0.9.8:all'
```

</Tab>
</Tabs>
```xml
{/* https://mvnrepository.com/artifact/com.clickhouse/clickhouse-jdbc */}
<dependency>
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<version>0.10.0</version>
<classifier>all</classifier>
</dependency>
```

If you are using JDBC driver within an application that requires jar to be added to the classpath, you need to add download the jar from:
- [Maven Central](https://mvnrepository.com/artifact/com.clickhouse/clickhouse-jdbc) and add it to the classpath
Expand Down
Loading
Loading