What is the bug?
In the current implementation of buildStreamWindowJoinPlan in the Streamstats command, the aggregation for window functions was partially re-implemented inside this method. But we should just use aggregateWithTrimming() to avoid duplicating existing functionality.
How can one reproduce the bug?
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
- OS: [e.g. iOS]
- Version [e.g. 22]
- Plugins
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.
``