clickhouse-java
clickhouse-java copied to clipboard
Java client and JDBC driver for ClickHouse
Hello, This is my first question here, so apologies in advance if I missed any information and pls let me know if more info is needed. We have a table...
Hello, the question how to implements inserting process by butch to table by columns list. I have table: ```sql CREATE TABLE test.test ( a String, b String DEFAULT 'unknown', c...
### I queried with namedParameterJdbcTemplate in for loop. But sometimes driver prompts " Query with id = xxxxxx is already running. ### This is my code ```java IntStream .range(0, config.getPartitionCount())...
table ddl: ```sql create table aiops_local_dev.aiops_collect_1 ( product String, service String, itf String, latency Float64 default inf ) engine = ReplicatedMergeTree('/clickhouse/tables/{layer}-{shard}/aiops_local_dev/aiops_collect_1', '{replica}') PARTITION BY toYYYYMMDD(time) PRIMARY KEY (product, service, itf)...
We utilize SqlBasedPreparedStatement for querying lists and subsequently transform the ResultSet into ClickHouseResultSet. During iteration over the result set using a while loop, we occasionally encounter the following exception. What...
When inserting into a table via executeBatch, before insert, Select is raised (which apparently checks for the presence of the required columns in the table) with Where 0. Is it...
## Summary - Enabling object reuse by default has the potential to cause unforeseen bugs in user code. - When a user decides to pass a `Stream` back as a...
### Describe the bug At some point ClickHouse JDBC driver switched to using `java.time.` types to represent temporal values. While I salute this change and would prefer too to abandon...
### Describe the bug In some cases, when we define a column with a Multidimensional array, and we insert an empty array with less deapth than the original column. Attempting...
### Describe the bug This is not so much a bug as much as trying to understand how to use the ClickHouseClient properly in an asynchronous context. The `ClickHouseClient` is...