You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LogQL: empty by () / without () grouping is rejected #989
Empty grouping is how you aggregate away every label — semantically distinct from omitting the clause, and Grafana emits it.
Scope
reader/logql/logql_parser grammar: allow an empty label list in ByOrWithout. The transpiler then needs to treat empty by () as "group by nothing" rather than "no grouping" — worth checking that distinction survives into the SQL.
Credit
Found via @tsouza's parser-pin work in #925. The PR pinned max by () (...) as a case that must fail; checking it against the Loki grammar showed it should parse.
Activity