clickhouse-datasource: Map type not working on OSS vs Enterprise
What happened:
Querying map using Clickhouse plugin v3.3.0 fails with the latest docker image of Grafana OSS:
Status: 500. Message: sql: Scan error on column index 8, name "botData": unsupported Scan, storing driver.Value type map[string]*string into type *string: Could not process SQL results
Using the following Grafana:
docker run -d --name=grafana -p 3443:3000 grafana/grafana-oss:10.2.2-ubuntu
What you expected to happen:
Able to query datatype map(string,string).
Trying with docker run -d --name=grafana -p 3443:3000 grafana/grafana-enterprise:10.2.2-ubuntu
using the same clickhouse plugin v3.3.0 and the same datasource works.
How to reproduce it (as minimally and precisely as possible):
Launch Grafana OSS with Docker, install clickhouse plugin 3.3.0, try to query a map(string, string) type.
Environment:
- Grafana version: grafana-oss:10.2.2-ubuntu
- Plugin version: v3.3.0
- OS Grafana is installed on: docker
- User OS & Browser: unrelated
- Others: works well with Grafana Enterprise
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 18 (6 by maintainers)
Reopening this, I’ll share with our current triage to review 😊