Sergey Chernov
Sergey Chernov
Hi @xlvchao! it seems that statement call with empty batch. Do you use jdbc driver directly or inside some framework (like spark)?
@xlvchao is it possible that batch can be empty? Would you be able to give an sample code how JDBC is used? Thanks!
Hi @xlvchao ! Have you tried an upgrade to newer version?
@xlvchao, thank you for information! I will look into it today. I think it may be incorrect concatenation of statements or may be something with compression. btw, do you have...
Found similar problem https://github.com/ClickHouse/clickhouse-java/issues/1259#issuecomment-1514603581 - for some reason invalid statement caused empty statement. The problem is in client https://github.com/ClickHouse/clickhouse-java/blob/b704b9523592e473522eb416c241fc55f0e5f443/clickhouse-http-client/src/main/java/com/clickhouse/client/http/ClickHouseHttpClient.java#L170 ``` List stmts = sealedRequest.getStatements(false); int size = stmts.size(); String sql;...
@xlvchao I've investigated the code and found that it may happen in very few conditions if internal statement is SQL based (data is send via series of insert statements) and...
@xlvchao thank you so much for the information! I will start with AggregateFunction and then replicating the issue.
Good day, @xlvchao ! I've been looking into it yesterday. 1. as you are using `unhex()` in the insert template - JDBC will not use RowBinary format and will just...
Thank you for the additional information! That looks strange that it requires several retries. Because it is client error. I will look into it.
Good day, @xlvchao ! Sorry - I'm working on other issues. But I remind myself about this one. Currently I have no ideas :-(