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

I had the following SQL statment: ``` SELECT CASE WHEN "metrics_all"."METRIC_ID" IS NULL OR "metrics_all"."SUB_METRIC" IS NULL THEN NULL WHEN "metrics_all"."METRIC_ID" > "metrics_all"."SUB_METRIC" THEN "metrics_all"."METRIC_ID" ELSE "metrics_all"."SUB_METRIC" END AS "MET"...

bug
module-jdbc

Feature request: implement `java.sql.Connection#setClientInfo` (and `ClickHouseDatabaseMetaData#getClientInfoProperties`) That would allow to pass some useful metadata to database, eg. frontend user that initiated current query, which would be then accessible in query_log....

enhancement
module-client

Noticed internal JDBC error in DBeaver when cancel multi-statement query. ``` java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 1 at ru.yandex.clickhouse.ClickHouseStatementImpl.getLastInputStream(ClickHouseStatementImpl.java:691) at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:340) at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:324) at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:319) at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:314)...

bug
module-jdbc

Hi. What is the rationale for making SQL parsing mandatory? Event though parser is lightweight, it definitely adds latency especially in case of lengthy SQL, Adds up to ~100ms for...

enhancement
module-client

After upgrading to 0.2.6 I see the following warning in the log: `Failed to parse the given SQL. If you believe the SQL is valid, please feel free to open...

bug
module-jdbc

I executed a batch insert SQL, but the execution was very slow. I took a look at Flame Graph and the sql parsing took most of the time. I looked...

enhancement
module-client

I'm running a large select over a single table and have noticed that at around 300k rows, the driver just returns an empty resultset with no error thrown, while anything...

I'm trying set ssl connect to clickhouse server which hosted on VPS. I can connect to ClickHouse by [this](https://www.npmjs.com/package/clickhouse) nodejs lib with my certificate, but in DBeaver I got error...

question
jdbc-v1
area:docs
action:verify

Deserialization of DateTime value seems very slow comparing to string and number. Below are benchmarks against ClickHouse 21.8. ``` Benchmark (client) (connection) (statement) Mode Cnt Score Error Units Query.select10kStringRows clickhouse-jdbc(0.3.1-patch)...

performance
test
area:data-type

`executeBatch()` method does return an `int[]` that seems to be filled with all ones regardless on many of the rows in the `PreparedStatement` went well. Reference: https://github.com/yandex/clickhouse-jdbc/blob/master/src/main/java/ru/yandex/clickhouse/ClickHousePreparedStatementImpl.java#L365 Is there any...

enhancement
module-client