ClickHouse / ClickHouse/clickhouse-go
How can I implement timeout control using go client, I want to terminate the query in clickhouse in case of timeout
Open
Q1-FY-2026
question
- Dominant language
- Go
- Stars
- 3.3k
- Forks
- 684
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 14
Description
### Company or project name
_No response_
### Question
[using-context](https://clickhouse.com/docs/en/integrations/go#using-context)
Official docs suggest using context.withDeadline,but queries will continue to completion in ClickHouse。
Contributor guide
Research direction
Start with the linked using-context documentation and the Go client's handling of context.WithDeadline. Investigate how query cancellation is propagated and whether ClickHouse continues execution after the client deadline. Done means the supported timeout behavior is established and documented or the required change is clearly scoped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clickhouse, go
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100