Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abitlity to specify ClickHouse version in client init #367

Open
bobelev opened this issue Jun 24, 2024 · 1 comment
Open

Abitlity to specify ClickHouse version in client init #367

bobelev opened this issue Jun 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bobelev
Copy link

bobelev commented Jun 24, 2024

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

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

@bobelev bobelev added the enhancement New feature or request label Jun 24, 2024
@genzgd
Copy link
Collaborator

genzgd commented Jul 24, 2024

This query is not particularly frequent (unless for some reason you're creating a lot of clients), and regardless clickhouse_connect requires information about several settings in the ClickHouse server, and that query is much more heavy weight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants