[BugFix] Add missing window function mappings for eventstats/streamstats#5305
[BugFix] Add missing window function mappings for eventstats/streamstats#5305songkant-aws wants to merge 2 commits intoopensearch-project:mainfrom
Conversation
row_number, rank, dense_rank, and nth_value were defined as enum values in BuiltinFunctionName but missing from WINDOW_FUNC_MAPPING, causing eventstats and streamstats to reject these valid window functions with "Unexpected window function" error. Resolves opensearch-project#5168 Signed-off-by: Songkan Tang <songkant@amazon.com>
Signed-off-by: Songkan Tang <songkant@amazon.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Description
row_number, rank, dense_rank, and nth_value were defined as enum values in BuiltinFunctionName but missing from WINDOW_FUNC_MAPPING, causing eventstats and streamstats to reject these valid window functions with "Unexpected window function" error.
Related Issues
Resolves #5168
Check List
--signoffor-s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.