ClickHouse / ClickHouse/clickhouse-connect
How to intercept all sql queries?
- Dominant language
- Python
- Stars
- 521
- Forks
- 159
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 46
Description
I want to track all queries that go through clickhouse_connect, including “service” requests.
In driver.client.Client._init_common_settings there are some “service” queries that I cannot intercept. Is there any way to intercept any queries that go through clickhouse_connect without rewriting driver.client.Client?
Contributor guide
Research direction
Start with driver.client.Client._init_common_settings and trace how its service queries are issued compared with regular queries. Determine whether clickhouse_connect exposes a supported interception point without rewriting driver.client.Client; done means identifying that entry point or documenting that the capability is not currently available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100