clickhouse-java
clickhouse-java copied to clipboard
Java client and JDBC driver for ClickHouse
Client already does that but the driver doesn't. It is needed to act adequately when some of the hosts are down, for example. And checking each host manually to know...
Hi I am reading data from mongo using spark-mongo-connector as data-frame one of the column is ```array``` and writing data-frame to clickhouse but I get the following error ``` java.lang.IllegalArgumentException:...
how can get result of cityHash64(11) ```sql SELECT cityHash64(11) Query id: 5c297931-dd69-48cb-9f01-4d6253e19da5 ┌──────cityHash64(11)─┐ │ 6561530814298065564 │ └─────────────────────┘ 1 rows in set. Elapsed: 0.002 sec. SELECT cityHash64('11') Query id: 18171503-24ee-44d2-9588-118419255434 ┌────cityHash64('11')─┐...
Hello, when i send compression like in the example using diferents compressions(gzip, brotli) ClickHouseStatement sth = connection.createStatement(); sth .write() .sql("INSERT INTO default.my_table (a,b,c)") .data(new MyCustomInputStream(), ClickHouseFormat.JSONEachRow) .dataCompression(ClickHouseCompression.brotli) .addDbParam(ClickHouseQueryParam.MAX_PARALLEL_REPLICAS, 2) .send();...
flink 1.13.1 idea run and flink on yarn throw the same error pom.xml ``` ru.yandex.clickhouse clickhouse-jdbc 0.3.1 ``` error: ``` Caused by: java.io.IOException: unable to open JDBC writer at org.apache.flink.connector.jdbc.internal.AbstractJdbcOutputFormat.open(AbstractJdbcOutputFormat.java:56)...
skywalking:8.3 clickhouse-jdbc:0.3.1 clickhouse:21.4.5.46 skywalking + clickhouse-jdbc return HttpResponseProxy{HTTP/1.1 400 Bad Request [Connection: Close] ResponseEntityProxy{[Chunked: false]}} =============detail============= , errorCode 1002, state null ru.yandex.clickhouse.except.ClickHouseUnknownException: ClickHouse exception, code: 1002, host: , port: 8123;...
Hi, I have two tables in my system: dm_user_set_mapping_di and dm_user_set_mapping_di_tmp. ` CREATE TABLE profile.dm_user_set_mapping_di ( `date` UInt32, `userset_key` String, `uv` AggregateFunction(groupBitmap, UInt64) ) ENGINE = Distributed( 'perftest_3shards_1replicas', 'profile', 'dm_user_set_mapping_di_local',...
Caused by: org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 4096; actual size: 4088)
support clickhouse-format functionality, format sql in java applications.
Here are 2 scenarios: ## 1. Correct user/pasword but wrong database in URL Steps to reproduce: 1. Configurations in application.yml. Correct user/pasword but wrong database in URL 2. Hardcode the...