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

Fix inconsistent return values when there is no data #5740

Open
Tracked by #5738
evanh opened this issue Apr 10, 2024 · 0 comments
Open
Tracked by #5738

Fix inconsistent return values when there is no data #5740

evanh opened this issue Apr 10, 2024 · 0 comments

Comments

@evanh
Copy link
Member

evanh commented Apr 10, 2024

When there is no data to return, totals queries with no groupby will return inconsistent data with the other types of queries. Series/queries with a groupby will return {}, but a totals query will return 1 row, with aggregate_value as 0 or nan depending on the aggregate function used.

We should ensure that the “no data” response is consistent.

@mcannizz mcannizz changed the title Inconsistent return values when there is no data Fix inconsistent return values when there is no data May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant