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
TraceQL: bare structural operators >, >>, <, << are rejected #986
These are the child / descendant / parent / ancestor operators — core TraceQL, used in Grafana's own query builder. A user migrating from Tempo will hit this on their first structural query.
Sibling ~ parses fine, so the gap is specific to the child/descendant/parent/ancestor family.
Scope
Grammar and lexer only — reader/traceql/traceql_parser/lexer_rules.go and model.go. Transpiler support for the resulting spanset operations is separate and larger; this issue covers making them parse. Splitting is fine.
Credit
Found via @tsouza's parser-pin work in #925. The PR encoded these as negative test cases asserting the queries fail; verifying them against the upstream Tempo grammar showed they should succeed. Without that work these would have stayed invisible.
Activity