[BUG] fields
is changing the outcome of the following commands that depend on selected fields
#2739
Labels
bug
Something isn't working
catch-all acknowledged
Marks issues caught in catch-all triage for searchability
What is the bug?
When running
stats count()
operation on a nested parameter the result seems to just return 0. If the field is specified before running the count, it will show the correct value.How can one reproduce the bug?
Steps to reproduce the behavior:
Enter the PPL "source = jaeger-span-* | fields references.refType|stats count (references.refType)" and hit Run
-Output will be 193
What is the expected behavior?
The
stats count()
should return a consistent value regardless of any preceeding field selection.What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: