ClickHouse / ClickHouse/clickhouse-java
getBlob implementation
Open
area:jdbc-read
enhancement
jdbc-v2
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 636
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 28
Description
### Use case
Download binary files from CH
### Describe the solution you'd like
Implement
1. Class - ResultSetImpl
Method - getBinaryStream(String columnLabel)
2. Class - ResultSetImpl
Method - getBlob(String columnLabel)
### Describe the alternatives you've considered
QuerySettings querySettings = new QuerySettings();
querySettings.setFormat(ClickHouseFormat.RawBLOB);
QueryResponse queryResponse = connection.unwrap(ConnectionImpl.class)
.getClient()
.query("select ...", querySettings)
.get();
### Additional context
Contributor guide
Assessment
This issue has not been assessed yet.