-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
subtotalsSpec and filtering returns no results #7820
Milestone
Comments
you are right, I was able to repro it and the cause is that we are trying to reapply filter when processing subtotalsSpec on top of base query result set where filter should just be ignored. #7827 fixes this. |
Thanks for the prompt response. Really appreciate it. |
has this change been merged in the new release 0.15.0? |
it will be included in the next release only. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using both subtotalsSpec and a filter on a renamed dimension, no results are returned.
Affected Version
Druid 0.14.0
Description
All 3 of the following need to be true to encounter the bug:
And example query looks like this:
This query will return
[]
.If you remove the filter or the subtotalsSpec or make the "outputName" the same as the dimension, results are returned. Using "bySegment: true" in context also returns results.
On a hunch it may have to do with a single result, I have also tested an
or
filter, and it still returns no results.The text was updated successfully, but these errors were encountered: