You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Some complex use cases of streamstats failed after "Bump Calcite to 1.41.0" #4800
What is the bug?
The version of Calcite was updated to 1.41.0 in #4714 . Streamstats command was implemented in #4297 .
These complex use cases worked in the former version of Calcite, but now failed.
"query": """
source=stream_test_null | streamstats window=2 avg(age) as avg_age by state, country | streamstats window=2 avg(avg_age) as avg_state_age by country
"""
POST _plugins/_ppl
{
"query": """
source=stream_test_null | streamstats reset_before=age>20 avg(age) as avg_age | streamstats reset_before=avg_age>20 window=2 avg(avg_age) as avg_state_age by country
"""
}
POST _plugins/_ppl
{
"query": """
source=stream_test_null | streamstats reset_before=age>22 avg(age) as avg_age | streamstats window=2 avg(avg_age) as avg_state_age by country
"""
It is caused by a NPE. But I still not find the exact reason in the Calcite code.
How can one reproduce the bug?
Steps to reproduce the behavior:
Activity
Fix streamstats regressions after Calcite 1.41.0 bump (opensearch-pro…
[BugFix] Fix chained streamstats with window causing NPE in Calcite d…
[BugFix] Fix chained streamstats with window causing NPE (#4800) (#5359)
[BugFix] Fix chained streamstats with window causing NPE (opensearch-…
Merge upstream/main into feature/mustang-ppl-integration
[BugFix] Fix chained streamstats with window causing NPE (opensearch-…