Altinity / clickhouse-grafana

Altinity Grafana datasource plugin for ClickHouse®
MIT License
715 stars 120 forks source link

Does version 2.5 treat the Custom all value = * in the same way as version 1.5? #477

Closed shezhangzhang closed 1 year ago

shezhangzhang commented 1 year ago

I have just updated my ck plugin from v1.5 to v2.5, and there was an issue with it: version is a variable, it's custom all value is *, now we set it to 'ALL': v1.5:

input: and(version in ($version))
output: and(1=1)

v2.5:

input: and(version in ($version))
output: and(version in (*)) // this caused the ck DB::Exception: Syntax error