-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[opt](agg function) Signature verification of aggregate function. #40682
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
08a833b
to
a30c982
Compare
run buildall |
1 similar comment
run buildall |
TeamCity be ut coverage result: |
759c15b
to
5150e4f
Compare
run buildall |
5150e4f
to
c1fb9d4
Compare
run buildall |
1 similar comment
run buildall |
TeamCity be ut coverage result: |
run buildall |
4 similar comments
run buildall |
run buildall |
run buildall |
run buildall |
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
a237d80
to
9319c95
Compare
run buildall |
9319c95
to
cc6e878
Compare
run buildall |
TeamCity be ut coverage result: |
cc6e878
to
b7a9cd5
Compare
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
…0682) Prevent be from crash when Nullable property of aggregate function is changed on FE. Rule: * With group by key: Result type of Aggregate function must be exactly same with type from planner. * Without group by key: If planner gives BE a nullable type, but aggregate function returns a not null type, it is valid. Else, a type mismatch is satisfied, BE will report an exception. Note, for `xxx_foreach`, type check is disabled for now.
…0682) Prevent be from crash when Nullable property of aggregate function is changed on FE. Rule: * With group by key: Result type of Aggregate function must be exactly same with type from planner. * Without group by key: If planner gives BE a nullable type, but aggregate function returns a not null type, it is valid. Else, a type mismatch is satisfied, BE will report an exception. Note, for `xxx_foreach`, type check is disabled for now.
Prevent be from crash when Nullable property of aggregate function is changed on FE.
Rule:
Result type of Aggregate function must be exactly same with type from planner.
If planner gives BE a nullable type, but aggregate function returns a not null type, it is valid.
Else, a type mismatch is satisfied, BE will report an exception.
Note, for
xxx_foreach
, type check is disabled for now.