ClickHouse / ClickHouse/clickhouse-java

[jdbc-v2] Streaming data for insert

Đang mở
#1,977 2 bình luận 0 reaction 1 người được giao Được giao cho @mzitnik Xem trên GitHub
area:client-insert enhancement jdbc-v2 type:Epic
Ngôn ngữ chính
Java
Star
1.6k
Fork
636
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
29

Mô tả

### 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`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.