clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

Java client and JDBC driver for ClickHouse

Results 421 clickhouse-java issues
Sort by recently updated
recently updated
newest added

Hello! I'm trying to migrate from JDBC API to Client API by using `0.3.2-patch10`. With JDBC API I can define parameters using the `?` marker like this: ```sql select number...

enhancement

How to import CSV files into a table? v0.3.2-patch10,use “ com.clickhouse.jdbc.ClickHouseStatement” Is this correct? clickHouseStatement.write() // Write API entrypoint .table(endPiont).format(ClickHouseFormat.CSV)// where to write data .data(file.getAbsolutePath(), ClickHouseCompression.ZIP)/// specify input .send(); ru.yandex.clickhouse.*...

enhancement

0.3.1 update to v0.3.2-patch10 java 11 ` com.clickhouse clickhouse-jdbc 0.3.2-patch10 all * * ` `java.lang.NoClassDefFoundError: com/clickhouse/client/http/HttpClientConnectionImpl at com.clickhouse.client.http.ClickHouseHttpClient.newConnection(ClickHouseHttpClient.java:53) ~[clickhouse-jdbc-0.3.2-patch10-all.jar!/:clickhouse-jdbc 0.3.2-patch10 (revision: aebad16)] at com.clickhouse.client.http.ClickHouseHttpClient.newConnection(ClickHouseHttpClient.java:23) ~[clickhouse-jdbc-0.3.2-patch10-all.jar!/:clickhouse-jdbc 0.3.2-patch10 (revision: aebad16)] at com.clickhouse.client.AbstractClient.getConnection(AbstractClient.java:193)...

question

Using the below snippet results in "Unsupported data type: JSON:" using 0.3.2.patch11 ```java PreparedStatement pstmt = connection.prepareStatement("INSERT INTO json_demo SELECT id,details from INPUT('id UInt8, details JSON')"); ` pstmt.setInt(1, 20); pstmt.setObject(2,...

enhancement

This adds BND manifest generation to the jars so one could use them inside OSGi. This currently depends on unreleased features of BND to support multi-release see - https://github.com/bndtools/bnd/pull/5350 and...

**Server** - Transaction ID: `Tuple(snapshot_version UInt64, local_txid_counter UInt64, host_id UUID)` - functions: `transactionID()`, `transactionLatestSnapshot()`, `transactionOldestSnapshot()` - settings: `throw_on_unsupported_query_inside_transaction`, `wait_changes_become_visible_after_commit_mode`, `implicit_transaction` - statements: `begin transaction`, `commit`, `rollback`, `set transaction snapshot `,...

enhancement

This is a PR to address the issues mentioned in https://github.com/ClickHouse/clickhouse-jdbc/issues/905 1. Use bnd-jar-plugin to generate a proper Manifest.MF file that is needed for OSGI-Bundles(jars) (**from** @stbischof) 2. Implement the...

I tried to start a ClickHouse docker container: ``` docker run -d --name clickhouse --ulimit nofile=262144:262144 -p 8123:8123 -p 9000:9000 -p 443:443 yandex/clickhouse-server ``` And connect using JDBC Driver using:...

question

Value PERFORMANCE of settings "request_buffering" is ignored during output stream creation