Skip to content

TraceQL: fix queries like {.foo && true} and {.foo || false} - #4855

Merged
stoewer merged 3 commits into
grafana:mainfrom
stoewer:traceql-attr-and-or-bool
Mar 16, 2025
Merged

TraceQL: fix queries like {.foo && true} and {.foo || false}#4855
stoewer merged 3 commits into
grafana:mainfrom
stoewer:traceql-attr-and-or-bool

Conversation

@stoewer

@stoewer stoewer commented Mar 14, 2025

Copy link
Copy Markdown
Contributor

What this PR does:
Fix behavior for queries single attributes that are &&ed or ||ed with a boolean.

Which issue(s) this PR fixes:
Fixes #4839

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@javiermolinar javiermolinar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stoewer
stoewer merged commit ad887d7 into grafana:main Mar 16, 2025
@stoewer
stoewer deleted the traceql-attr-and-or-bool branch March 27, 2025 01:35
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
…#4855)

* Add test cases for {.foo && true} and {.foo || false}

* Fix behavior for queries like {.foo && true} and {.foo || false}

* CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants