-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](Nereids) fix double literal to string literal cast problem #49416
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/literal/Literal.java
Outdated
Show resolved
Hide resolved
...ssion-test/suites/nereids_p0/expression/fold_constant/fold_constant_string_arithmatic.groovy
Outdated
Show resolved
Hide resolved
|
run buildall |
TPC-H: Total hot run time: 34064 ms |
TPC-DS: Total hot run time: 193493 ms |
ClickBench: Total hot run time: 31.1 s |
...ssion-test/suites/nereids_p0/expression/fold_constant/fold_constant_string_arithmatic.groovy
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/literal/Literal.java
Show resolved
Hide resolved
|
run buildall |
...ssion-test/suites/nereids_p0/expression/fold_constant/fold_constant_string_arithmatic.groovy
Outdated
Show resolved
Hide resolved
...ssion-test/suites/nereids_p0/expression/fold_constant/fold_constant_string_arithmatic.groovy
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/literal/Literal.java
Show resolved
Hide resolved
TPC-H: Total hot run time: 35135 ms |
TPC-DS: Total hot run time: 186698 ms |
ClickBench: Total hot run time: 30.87 s |
|
run buildall |
TPC-H: Total hot run time: 33868 ms |
TPC-DS: Total hot run time: 193312 ms |
ClickBench: Total hot run time: 31.51 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
fe and be have same behavior: |
|
run buildall |
TPC-H: Total hot run time: 34278 ms |
TPC-DS: Total hot run time: 193467 ms |
ClickBench: Total hot run time: 30.96 s |
|
PR approved by at least one committer and no changes requested. |
…he#49416 (apache#314) pick from doris master: apache#49416 When cast double like 1.000 to string, it should strip .000 in the trailing of double
…che#49416) When cast double like 1.000 to string, it should strip .000 in the trailing of double
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
When cast double like 1.000 to string, it should strip .000 in the trailing of double
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)