Altinity / clickhouse-grafana

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

Issue 506: Proper parsing for WHERE field IN ['item1', 'item2'] added #536

Closed lunaticusgreen closed 4 months ago

lunaticusgreen commented 4 months ago

fix https://github.com/Altinity/clickhouse-grafana/issues/506

lunaticusgreen commented 4 months ago

@Slach I've seen failing test, I'll fix regexp so it worked properly for all scenarios

Slach commented 4 months ago

"AND zone ['City'] = 'Kyiv'",

this is wrong generated SQL it shall be zone['City'] without space before [