ClickHouse/clickhouse-java

[Tests] Parsing errors in server response

chernser opened this issue · 1 comments

Describe the bug

Fix unstable test about handling errors inline in the select output
https://github.com/ClickHouse/clickhouse-java/actions/runs/9066159945/job/24908660593?pr=1630

Steps to reproduce

  1. Run long running query
  2. Error not always cause read operation to abort

Expected behaviour

error is thrown

Code example

Error log

https://github.com/ClickHouse/clickhouse-java/actions/runs/9066159945/job/24908660593?pr=1630

Configuration

Environment

  • Client version:
  • Language version:
  • OS:

ClickHouse server

  • ClickHouse Server version:
  • ClickHouse Server non-default settings, if any:
  • CREATE TABLE statements for tables involved:
  • Sample data for all these tables, use clickhouse-obfuscator if necessary

Another test should be where reading records before an error is possible. However it would require some redesign to guarantee it.