-
Notifications
You must be signed in to change notification settings - Fork 71
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
clickhouse: unsupported column type "count` Int16" #935
Comments
also, how do you turn on debug logging for this plugin so I can see the query it is sending to clickhouse? |
I have this for grafana itself:
but don't see anything about the query it's sending to clickhouse ? |
Figured out it was my JSON column |
Apologies for the trouble debugging. I'm still not sure why it was reporting an issue with ClickHouse has some excellent features for handling JSON data stored in strings, perhaps that would be a good alternative? Some points may be relevant for your logging use case. Let me know if you have any more questions. Thanks! |
What happened:
A query executed through the Grafana datasource (e.g. via explore panel) fails with error:
but if I run this exact query from the clickhouse client CLI, it works fine. Also, when I run the query from Grafana, it never shows up in the system.query_log table. Also, some other queries hitting clickhouse from grafana actually work, so I suspect this is table schema dependent?
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
My test query is very simple:
My table definition is:
Anything else we need to know?:
Environment:
Grafana v10.3.3 (252761264e)
4.3.1
Kubernetes (1.28) / AWS Linux
Mac / Chrome
The text was updated successfully, but these errors were encountered: