ClickHouse / ClickHouse/clickhouse-java

JDBC does not recognize CH errors in the middle of a result

Open
#650 7 comments 0 reactions 1 assignee Claimed by @chernser View on GitHub
area:network blocked-by-clickhouse bug jdbc-v1
Dominant language
Java
Stars
1.6k
Forks
636
Avg merge
2d 16h
Merged PRs (30d)
28

Description

```sql
SELECT toString(cityHash64(number))
FROM numbers(10000000000)
where intDiv(1,number-100000)>-1000000000000000

....
15335767028551339235
12760187302687605805
11100438807872808134
708232450366267289
8950872048444443462
12595162315755727141
15351880352077599325
13448237354462061702
2932317051899664345
4513747946220550376
2548036246277231731
Code: 153, e.displayText() = DB::Exception: Division by zero (version 20.8.18.32 (official build))

```

Now the error is just one more value. No JAVA exception.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.