ClickHouse / ClickHouse/clickhouse-connect

Abitlity to specify ClickHouse version in client init

Open
#367 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
521
Forks
159
Avg merge
1d 7h
Merged PRs (30d)
46

Description

I'd like to have an ability to specify ClickHouse version in `create_client()` so client could skip informational queries like `SELECT version(), timezone()` [here](https://github.com/ClickHouse/clickhouse-connect/blob/8a70ac04d4dd2943d7321d165fcbf0ef4eab5926/clickhouse_connect/driver/client.py#L67)

**Is your feature request related to a problem? Please describe.**

- junk entries in `system.query_log`
- broken statistics per client, because these queries are very lightweight and frequent

**Describe the solution you'd like**

`version` argument in `create_client()`

**Describe alternatives you've considered**

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.