ClickHouse / ClickHouse/clickhouse-java
[jdbc-v2] Streaming data for insert
オープン
area:client-insert
enhancement
jdbc-v2
type:Epic
- 主要言語
- Java
- スター
- 1.6k
- フォーク
- 636
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 29
説明
### Describe the bug
JDBC driver should use streaming API of client-v2 to insert data where it is possible. The old client was doing it based on statement:
1. it is insert statement
2. it doesn't contain select
3. there is a specific `{tt 'raw_data'}` parameter
Note: statement may have a format: test: `com.clickhouse.jdbc.ClickHousePreparedStatementTest#testInsertWithFormat`
Here is test: `com.clickhouse.jdbc.ClickHousePreparedStatementTest#testLoadRawData`
Here is reference in code: `com.clickhouse.jdbc.internal.ClickHouseConnectionImpl#prepareStatement`
コントリビューションガイド
評価
この issue はまだ評価されていません。