clickhouse-java
clickhouse-java copied to clipboard
Java client and JDBC driver for ClickHouse
## Description Libraries should do only necessary logging. Only very important messages should be in info log. Here is what should be logged on debug level: - Transport level logging:...
## Description There is need to: - measure time of different logic span's (starting request, compressing data chunk, sending data, receiving data etc.) - measure different stats
## Description ### Steps to reproduce 1. Created any table with field of type `Date` 2. Inserted any data 3. Trying to fetch with prepared statement ```SELECT ... WHERE ......
### Description `UInt64` doesn't fit `java.sql.Types#BIGINT` and it is defined as `java.sql.Types#OTHER`. This creates a problem for tools working with metadata because they treat is as mystery type. It can...
## Description There are some tests failing from Metabase repository (https://github.com/metabase/metabase). Investigate and fix the cause. - [ ] FAIL in metabase.driver.clickhouse-substitution-test/clickhouse-native-query-with-uuid-filter-test - [ ] FAIL in metabase.driver.sql-jdbc.connection-test/connection-pool-invalidated-on-details-change - [...
### Description There is a problem resolving Array types like `Array(Nullable(Decimal(9,3)))` in DBeaver 25.2. Possible root cause is how CH Driver sets array type when reading data Relates: https://github.com/dbeaver/dbeaver/issues/38742
Website docs: https://clickhouse.com/docs/sql-reference/data-types/qbit Internal layout: https://github.com/ClickHouse/ClickHouse/pull/87922/files#diff-9d45fe76d9e7f9a392db684d3465aff14979cfc9bbe5ccd912e9307a934bd28aR15-R51 Given `QBit(element_type, dimension)` where `element_type` is one of `BFloat16`, `Float32`, `Float64`, it is internally represented as a `Tuple` of `FixedString(dimension)`. - The length of...
## Description I've been using the JDBC driver 0.7.2 for quite a while and now decided to update to 0.9.0. Unfortunately I found that the update to the new driver...
### Description There is currently only SimpleAggregate function columns are supported and partially. Related to https://github.com/dbeaver/dbeaver/issues/29931 Example table: ```SQL CREATE TABLE signoz_metrics.exp_hist ( `env` LowCardinality(String) DEFAULT 'default', `temporality` LowCardinality(String) DEFAULT...
Once [PR](https://github.com/ClickHouse/ClickHouse/pull/85718) is merged. ClickHouse will remove support for the old Object('json') implementation. This PR: - Remove the implementation from the v1 client. - Update the documentation with the note...