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

[Bug] backend filtering on null does not work #870

Open
hyamanieu opened this issue Jun 6, 2024 · 1 comment · May be fixed by grafana/infinity-libs#12
Open

[Bug] backend filtering on null does not work #870

hyamanieu opened this issue Jun 6, 2024 · 1 comment · May be fixed by grafana/infinity-libs#12
Assignees

Comments

@hyamanieu
Copy link

Describe the bug

Checking the example in https://grafana.com/docs/plugins/yesoreyeram-infinity-datasource/latest/query/backend/ , one can see the example name != 'MacBook' && price != null as a filter.

Well it does not work

Steps to reproduce

Set:

  • type: JSON
  • Parser: backend
  • Source: Inline
  • Data: [{"name":"notnull", "value": "somevalue"},{"name":"null", "value": null}]
  • Filter: value != null

Result: every row is shown, instead of only the one with name "notnull"

Note: bugs will be fixed only if enough information provided to reproduce the issue

Sample Data

[{"name":"notnull", "value": "somevalue"},{"name":"null", "value": null}]

Version Details:

  • Grafana version : 10.4.1
  • Plugin version : 2.7.1
@yesoreyeram
Copy link
Collaborator

Hiya. Sorry for the delay and sorry that you are having trouble with backend filtering. I can reproduce this and fix is on the way.

Thank you for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants