clickhouse-grafana icon indicating copy to clipboard operation
clickhouse-grafana copied to clipboard

Syntax highlight stop works when auto-complete query failed

Open Slach opened this issue 1 year ago • 1 comments

I created gh-api datasource which has restriction to system.* tables and returns Code: 497. DB::Exception: play: Not enough privileges for auto-complete queries

Thereafter, I tried to make the following actions sequence:

Main menu -> Alert rules -> Add new rule

choose Column timestamp type -> DateTime select Database, Table and Timestamp column

image

press Go to query

and syntax highlight stop works image

Slach avatar May 15 '24 19:05 Slach

@lunaticusgreen also looks like auto-complete query fetch is synchronous i mean we wait when it complete before trying to show query editor

Slach avatar May 15 '24 19:05 Slach