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'm looking for a way to connect to a ClickHouse instance with krb5 auth from DBeaver. Is it possible? If it is, can you provide any info on how to...

enhancement

While implementing a job in Java using JDBC api , I am facing issue with PreparedStatement(INSERT) query = "Insert into db.tablename values (?,parseDateTimeBestEffortOrNull`(?))"; ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 27, host: clickhouse-distributed.clickhouse.svc.kubernetes.local,...

question

ClickHouse sometimes returns multiple tables from single query. For instance, you may specify `GROUP BY WITH ROLLUP` and get multiple tables. So how is it possible to retrieve such results...

enhancement

Here is the stack trace The version of clickhouse-jdbc dependency is 0.1.46 ```java Cannot acquire connection from data source java.lang.IllegalStateException: cannot initialize http client at ru.yandex.clickhouse.ClickHouseConnectionImpl.(ClickHouseConnectionImpl.java:73) at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:58) at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:50)...

question

As I reported in https://github.com/trinodb/trino/pull/10675#issuecomment-1017255928, ClickHouse JDBC driver seems connecting to other servers that is not defined in the connection url. Can we get help to debug and fix the...

When I insert Float.MAX_VALUE into table column with Float64 type, it seems cannot store the correct precision! reproduct: 1. jdbc version: `0.2.4`/`0.3.2-patch2` clickhouse version: `21.3.5.42` 2. create table: ```sql CREATE...

enhancement
jdbc-v1
area:data-type
action:verify

Hello, Any plans on adding support for[ r2dbc spec](https://github.com/r2dbc/r2dbc-spi) I think this is next evolution of DB connectivity I think your driver already exposes some of these concepts. Thank you.

enhancement
help wanted

Hi, is there anyway to add support for native port(9000) there are some performance improvements so that there is this project: https://github.com/housepower/ClickHouse-Native-JDBC which supports it however, it does not support...

enhancement
module-tcp

https://github.com/ClickHouse/clickhouse-jdbc/blob/272d9c48b1d72a7605953b6c94d760f2895afafb/clickhouse-jdbc/src/main/java/ru/yandex/clickhouse/util/ClickHouseValueFormatter.java#L133 Guys, please, fix nanoseconds existence check bug. You should use 1_000_000_000 (nano) not 1_000_000 (micro) for this check.

bug

## Motivation In [ClickHouseDatabaseMetaData](https://github.com/ClickHouse/clickhouse-jdbc/blob/30bda80961808e6c7e3b9b24b5a0aa5e74495ef9/clickhouse-jdbc/src/main/java/com/clickhouse/jdbc/ClickHouseDatabaseMetaData.java#L33) we currently differentiate between these table types: DICTIONARY, LOG TABLE, MEMORY TABLE, REMOTE TABLE, TABLE, VIEW, SYSTEM TABLE, TEMPORARY TABLE . - Are these distinctions useful...