Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TraceQL] != nil is not symmetric #3989

Open
joe-elliott opened this issue Aug 21, 2024 · 0 comments · May be fixed by #3991
Open

[TraceQL] != nil is not symmetric #3989

joe-elliott opened this issue Aug 21, 2024 · 0 comments · May be fixed by #3991
Assignees
Labels
traceql type/bug Something isn't working

Comments

@joe-elliott
Copy link
Member

Describe the bug

!= nil is only evaluated correctly one way.

This returns results:

{ span.accept != nil }

This does not:

{ nil != span.accept }

The best fix would be to make it work both ways. If that is difficult for some reason we should at least throw an error.

image

image

@joe-elliott joe-elliott added type/bug Something isn't working traceql labels Aug 21, 2024
@electron0zero electron0zero self-assigned this Aug 21, 2024
@electron0zero electron0zero linked a pull request Aug 21, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
traceql type/bug Something isn't working
Projects
Status: Next
Development

Successfully merging a pull request may close this issue.

2 participants