-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[bug](function) fix first/last value return error with ignore null #44996
[bug](function) fix first/last value return error with ignore null #44996
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
TeamCity be ut coverage result: |
maybe this PR need a release note |
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
need this PR merge first: #45065 |
clang-tidy review says "All clean, LGTM! 👍" |
1f60196
to
9ed3fc5
Compare
clang-tidy review says "All clean, LGTM! 👍" |
9ed3fc5
to
32445f1
Compare
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
…44996) ### What problem does this PR solve? Problem Summary: needs another prs of FE: #45065 #45264 1. the first value even if have set value, should not return directly, need check it whether need arg_ignore_null, as maybe it's NULL 2. the last_value if need arg_ignore_null and not set value, should find in while loop, if find could return directly, not find check iff has any value before ### Release note fix first_value/last_value return error with ignore null param is true
…44996) ### What problem does this PR solve? Problem Summary: needs another prs of FE: #45065 #45264 1. the first value even if have set value, should not return directly, need check it whether need arg_ignore_null, as maybe it's NULL 2. the last_value if need arg_ignore_null and not set value, should find in while loop, if find could return directly, not find check iff has any value before ### Release note fix first_value/last_value return error with ignore null param is true
…44996) ### What problem does this PR solve? Problem Summary: needs another prs of FE: #45065 #45264 1. the first value even if have set value, should not return directly, need check it whether need arg_ignore_null, as maybe it's NULL 2. the last_value if need arg_ignore_null and not set value, should find in while loop, if find could return directly, not find check iff has any value before ### Release note fix first_value/last_value return error with ignore null param is true
…pache#44996) ### What problem does this PR solve? Problem Summary: needs another prs of FE: apache#45065 apache#45264 1. the first value even if have set value, should not return directly, need check it whether need arg_ignore_null, as maybe it's NULL 2. the last_value if need arg_ignore_null and not set value, should find in while loop, if find could return directly, not find check iff has any value before ### Release note fix first_value/last_value return error with ignore null param is true
…nore null #44996 (#45344) Cherry-picked from #44996 Co-authored-by: zhangstar333 <[email protected]>
What problem does this PR solve?
Problem Summary:
needs another prs of FE: #45065 #45264
the first value even if have set value, should not return directly, need check it whether need arg_ignore_null, as maybe it's NULL
the last_value if need arg_ignore_null and not set value, should find in while loop, if find could return directly, not find check iff has any value before
Release note
fix first_value/last_value return error with ignore null param is true
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)