ClickHouse / ClickHouse/clickhouse-java
[jdbc-v2] Handle query timeout in the middle of stream
未关闭
jdbc-v2
- 主要语言
- Java
- 星标
- 1.6k
- 派生
- 636
- 平均合并
- 2 天 23 小时
- 30 天内合并 PR
- 29
描述
## 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
贡献指南
调研方向
从 JDBC-v2 的流式查询超时处理开始,并在定位相关代码和测试之前先查看前置 issue #2702。当流期间发生的服务器执行超时以 SQLTimeoutException 而不是通用 SQLException 的形式公开时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- database
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100