ClickHouse / ClickHouse/clickhouse-java

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

Aperta
#3,077 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
jdbc-v2
Lingua principale
Java
Stelle
1.6k
Fork
636
Merge medio
2g 23h
PR unite (30g)
29

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
database
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.