clickhouse-java
clickhouse-java copied to clipboard
PreparedStatement executeBatch returns number of rows regardless on how many failed
executeBatch() method does return an int[] that seems to be filled with all ones regardless on many of the rows in the PreparedStatement went well.
Reference: https://github.com/yandex/clickhouse-jdbc/blob/master/src/main/java/ru/yandex/clickhouse/ClickHousePreparedStatementImpl.java#L365
Is there any plan to modify this behaviour? So that int[] does contain information on how many of the rows went well and how many did not?
Kind regards
ClickHouse server returns inserted rows but not updated/deleted rows at this point - see ClickHouse/ClickHouse#18237 and ClickHouse/ClickHouse#19274