[fix](Nereids) change numeric arithmatic function boundary behavior to match with be execution behavior#47966
Merged
morrySnow merged 3 commits intoapache:masterfrom Feb 19, 2025
Conversation
…o match with be execution behavior
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
morrySnow
reviewed
Feb 17, 2025
Comment on lines
+199
to
+200
| // testFoldConst("SELECT COSH(1E308)") | ||
| // testFoldConst("SELECT COSH(-1E308)") |
Contributor
Author
There was a problem hiding this comment.
COSH/POWER/DEGREES functions would meet inf problem when input is to large, be execute need to fix it
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 31424 ms |
TPC-DS: Total hot run time: 183004 ms |
ClickBench: Total hot run time: 30.35 s |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 31559 ms |
TPC-DS: Total hot run time: 190565 ms |
ClickBench: Total hot run time: 30.02 s |
aytrack
approved these changes
Feb 19, 2025
Contributor
|
PR approved by anyone and no changes requested. |
morrySnow
approved these changes
Feb 19, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
github-actions bot
pushed a commit
that referenced
this pull request
Feb 19, 2025
…o match with be execution behavior (#47966) ### What problem does this PR solve? Related PR: #40744, #47228 Problem Summary: When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now we change it to match with be execution result, which is NullLiteral
lzyy2024
pushed a commit
to lzyy2024/doris
that referenced
this pull request
Feb 21, 2025
…o match with be execution behavior (apache#47966) ### What problem does this PR solve? Related PR: apache#40744, apache#47228 Problem Summary: When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now we change it to match with be execution result, which is NullLiteral
LiBinfeng-01
pushed a commit
to LiBinfeng-01/doris
that referenced
this pull request
Feb 24, 2025
…o match with be execution behavior (apache#47966) Related PR: apache#40744, apache#47228 Problem Summary: When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now we change it to match with be execution result, which is NullLiteral
16 tasks
LiBinfeng-01
pushed a commit
to LiBinfeng-01/doris
that referenced
this pull request
Feb 25, 2025
…o match with be execution behavior (apache#47966) ### What problem does this PR solve? Related PR: apache#40744, apache#47228 Problem Summary: When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now we change it to match with be execution result, which is NullLiteral
16 tasks
yiguolei
pushed a commit
that referenced
this pull request
Feb 25, 2025
…y behavior to match with be execution behavior #47966 (#48237) pick:#47966 Related PR: #40744, #47228 Problem Summary: When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now we change it to match with be execution result, which is NullLiteral ### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: apache/doris-website#1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
dataroaring
pushed a commit
that referenced
this pull request
Feb 26, 2025
…y behavior to match with be execution behavior (#47966) (#48281) pick:#47966 ### What problem does this PR solve? Related PR: #40744, #47228 Problem Summary: When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now we change it to match with be execution result, which is NullLiteral
Closed
koarz
pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
…o match with be execution behavior (apache#47966) ### What problem does this PR solve? Related PR: apache#40744, apache#47228 Problem Summary: When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now we change it to match with be execution result, which is NullLiteral
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #40744, #47228
Problem Summary:
When numeric function input or output out of boundary when fe folding constant, it would throw an exception before. Now
we change it to match with be execution result, which is NullLiteral
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)