[jdbc-v2] Handle query timeout in the middle of stream

Open
#3,077 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
database

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.

Description

jdbc-v2

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

Dominant language
Java
Stars
1.6k
Forks
637
Avg merge
2d 12h
Merged PRs (30d)
28

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/clickhouse-java

All issues in ClickHouse/clickhouse-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.