grafana/pkg/expr
net0pyr e249d9d3a7
SQL Expressions: Add "NOT" keyword to allow list (#116802)
fix(expressions): allow NOT expressions in SQL transformations

Add *sqlparser.NotExpr to the allowlist in allowedNode() function,
enabling queries like `WHERE NOT column` and `WHERE NOT (value > 5)`.

Fixes #116616
2026-02-04 09:50:37 -05:00
..
classic
mathexp
metrics
ml
sql SQL Expressions: Add "NOT" keyword to allow list (#116802) 2026-02-04 09:50:37 -05:00
commands.go
commands_test.go
convert_to_full_long.go
convert_to_full_long_num_test.go
convert_to_full_long_ts_test.go
converter.go
converter_test.go
dataplane.go
dataplane_test.go
errors.go
errors_test.go
graph.go
graph_test.go
hysteresis.go
hysteresis_test.go
ml.go
ml_test.go
nodes.go
nodes_test.go
query.go
query.panel.example.json
query.panel.schema.json
query.request.example.json
query.request.schema.json
query.types.json
query_convert.go
query_convert_test.go
query_test.go
service.go
service_sql_test.go
service_test.go
sql_command.go
sql_command_alert_test.go
sql_command_test.go
sql_schema.go SQLSchemas: Move the types to the query types package (#116745) 2026-01-23 17:32:46 +03:00
testing.go
threshold.go
threshold_bench_test.go
threshold_test.go
transform.go