ClickHouse / ClickHouse/clickhouse-java
[jdbc-v2] Handle query timeout in the middle of stream
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 636
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 29
Description
## Description
Query may have execution timeout limit on server. In this case exception will be just `SQLException` not a `SQLTimeoutException`.
JDBC do not make driver throw `SQLTimeoutException` in this case but it would be good to fix for consistency and better error handling.
Requires: https://github.com/ClickHouse/clickhouse-java/issues/2702
Contributor guide
Research direction
Start with the JDBC-v2 streaming query timeout handling and review the prerequisite issue #2702 before locating the relevant code and tests. Done means a server execution timeout occurring during a stream is exposed as SQLTimeoutException rather than a generic SQLException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100