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

HTTP Connection not working for CH Server below 21.4 #215

Closed
derN3rd opened this issue Oct 12, 2022 · 2 comments · Fixed by #255
Closed

HTTP Connection not working for CH Server below 21.4 #215

derN3rd opened this issue Oct 12, 2022 · 2 comments · Fixed by #255

Comments

@derN3rd
Copy link

derN3rd commented Oct 12, 2022

Describe the bug
Just wanted to make aware that there is a bug in the clickhouse-go lib that breaks the HTTP connection method if the CH server is below version 21.4.
Once ClickHouse/clickhouse-go#780 is fixed, the clickhouse-datasource plugin needs a new release to also fix this, afaik.

Thanks in advance

Versions
Plugin 2.0.1

Query
All queries afaik

To Reproduce
Steps to reproduce the behavior:

  1. have a server on CH version 20.1 i.e.
  2. setup grafana and the clickhouse-datasource plugin with HTTP connections
  3. Try to run a query with some time data
  4. All queries fail with Code: 46, e.displayText() = DB::Exception: Unknown function timeZone. Maybe you meant: ['timezone','toTimeZone']: While processing timeZone()

Expected behavior
All queries work as expected

@engin-can
Copy link

Same here!

@gingerwizard
Copy link
Collaborator

Not a supported version but will be fixed when the client is updated to 2.4.0. ClickHouse/clickhouse-go#781

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

Successfully merging a pull request may close this issue.

3 participants