clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

Java client and JDBC driver for ClickHouse

Results 485 clickhouse-java issues
Sort by recently updated
recently updated
newest added

**1. my first question:** use jdbc: https://github.com/ClickHouse/clickhouse-java/blob/main/examples/jdbc/src/main/java/com/clickhouse/examples/jdbc/Basic.java use client: https://github.com/ClickHouse/clickhouse-java/blob/main/examples/client/src/main/java/com/clickhouse/examples/jdbc/Main.java I have a lot of write requests, and need to write in batch mode, so which is more efficient? can...

bug

## Summary support custom SNI for SSL connection ## Checklist Delete items not relevant to your PR: - [ ] Unit and integration tests covering the common scenarios were added...

### Describe the bug If one creates a table with column named "format", they will receive java.lang.IllegalArgumentException: No enum constant com.clickhouse.data.ClickHouseFormat.String ### Code example ```java String url = "jdbc:ch://localhost:8123/default"; ClickHouseDataSource...

bug
module-jdbc

### Describe the bug I want to import a csv file data to an existing table by use api ClickHouseClient.load() with custom settings 'insert_distributed_sync=1,insert_quorum=2' ### Steps to reproduce 1.prepare a...

bug

the client version: ``` com.clickhouse clickhouse-http-client 0.5.0 ```

enhancement
question
area:docs
client-api-v2

### Describe the bug When trying to upgrade from 0.3 -> 0.5 series I getting following error which I suppose cause by missing `use` declaration in `com.clickhouse.data`. ``` java.util.ServiceConfigurationError: com.clickhouse.client.ClickHouseRequestManager:...

bug
usability

ClickHouse-JDBC version: 0.3.1 && 0.4.5 ![image](https://github.com/ClickHouse/clickhouse-java/assets/12447886/97c0a46d-97d4-447c-978a-8b9d599d158f) After the value of max_concurrent_queries in the config.xml file is changed to 0, the same error message is displayed. How to solve the problem?

module-jdbc

### Describe the bug Throw an exception when I execute the "insert into test FORMAT JSONEachRow {"project_name":"jenny","client_type":"iphone","age":11}" statement exception: ` org.springframework.jdbc.UncategorizedSQLException: ### Error updating database. Cause: java.sql.SQLException: Missing input stream...

bug
module-jdbc
investigating

For some reason\*\* my main cluster in `system.clusters` has no node with `is_local = 1`. For example: ``` select host_address, is_local, default_database from system.clusters where cluster = 'ch_cluster' ┌─host_address─┬─is_local─┬─default_database─┐ │...

bug
module-client
usability
stale

### Describe the bug I want to use jdbc to connect the multiple clickhouse nodes, set the load balance with 'random', and also set the failover with '3'. But when...

bug