Describe the bug
When querying in binary formats, I'm unable to access underlying input stream because processor is null.
As I understand it the connector doesn't support all data formats right now, but as a workaround it'd help if the underlying stream is still accessible.
Steps to reproduce
- Query using any binary formats like Arrow/Parquet/Avro
Expected behaviour
Code example
val clickhouseResponse = clickHouseClient.read(clickhouseNodes)
.query("SELECT * FROM table LIMIT 10 FORMAT ArrowStream")
.format(ClickHouseFormat.ArrowStream)
.execute()
.await()
Error log
java.lang.NullPointerException: Cannot invoke "com.clickhouse.data.ClickHouseDataProcessor.getInputStream()" because "this.processor" is null
at com.clickhouse.client.ClickHouseStreamResponse.getInputStream(ClickHouseStreamResponse.java:135)
Configuration
Environment
- Client version: com.clickhouse:clickhouse-http-client:0.4.6
- Language version: JDK 18
- OS: Linux
ClickHouse server
- ClickHouse Server version: 23.2.2.20
Describe the bug
When querying in binary formats, I'm unable to access underlying input stream because processor is null.
As I understand it the connector doesn't support all data formats right now, but as a workaround it'd help if the underlying stream is still accessible.
Steps to reproduce
Expected behaviour
Code example
Error log
Configuration
Environment
ClickHouse server