[fix](Nereids) fold constant for string function process emoji character by mistake#49087
Merged
morrySnow merged 8 commits intoapache:masterfrom Mar 21, 2025
Merged
[fix](Nereids) fold constant for string function process emoji character by mistake#49087morrySnow merged 8 commits intoapache:masterfrom
morrySnow merged 8 commits intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 32628 ms |
TPC-DS: Total hot run time: 192255 ms |
ClickBench: Total hot run time: 30.54 s |
Contributor
Author
|
run buildall |
morrySnow
reviewed
Mar 17, 2025
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 32319 ms |
TPC-DS: Total hot run time: 191392 ms |
ClickBench: Total hot run time: 30.77 s |
morrySnow
reviewed
Mar 18, 2025
Contributor
Author
|
run buildall |
1 similar comment
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 32783 ms |
TPC-DS: Total hot run time: 186488 ms |
ClickBench: Total hot run time: 31.58 s |
morrySnow
approved these changes
Mar 20, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
LiBinfeng-01
pushed a commit
to LiBinfeng-01/doris
that referenced
this pull request
Mar 21, 2025
…ter by mistake (apache#49087) Related PR: apache#40441 Problem Summary: wrong calculation of emoji character length in some String function when do constant folding in FE. For example: select STRLEFT('😊😉👍', 2); should return 😊😉, but fe return 😊 only when folding constant fixed functions: - left - strleft - right - strright - locate - character_length - split_by_string - overlay - replace_empty
16 tasks
LiBinfeng-01
pushed a commit
to LiBinfeng-01/doris
that referenced
this pull request
Mar 21, 2025
…ter by mistake (apache#49087) Related PR: apache#40441 Problem Summary: wrong calculation of emoji character length in some String function when do constant folding in FE. For example: select STRLEFT('😊😉👍', 2); should return 😊😉, but fe return 😊 only when folding constant fixed functions: - left - strleft - right - strright - locate - character_length - split_by_string - overlay - replace_empty
16 tasks
LiBinfeng-01
pushed a commit
to LiBinfeng-01/doris
that referenced
this pull request
Mar 21, 2025
…ter by mistake (apache#49087) Related PR: apache#40441 Problem Summary: wrong calculation of emoji character length in some String function when do constant folding in FE. For example: select STRLEFT('😊😉👍', 2); should return 😊😉, but fe return 😊 only when folding constant fixed functions: - left - strleft - right - strright - locate - character_length - split_by_string - overlay - replace_empty
LiBinfeng-01
pushed a commit
to LiBinfeng-01/doris
that referenced
this pull request
Mar 21, 2025
…ter by mistake (apache#49087) Related PR: apache#40441 Problem Summary: wrong calculation of emoji character length in some String function when do constant folding in FE. For example: select STRLEFT('😊😉👍', 2); should return 😊😉, but fe return 😊 only when folding constant fixed functions: - left - strleft - right - strright - locate - character_length - split_by_string - overlay - replace_empty
yiguolei
pushed a commit
that referenced
this pull request
Mar 21, 2025
…emoji character by mistake #49087 (#49344) pick: #49087 Related PR: #40441 Problem Summary: wrong calculation of emoji character length in some String function when do constant folding in FE. For example: select STRLEFT('😊😉👍', 2); should return 😊😉, but fe return 😊 only when folding constant fixed functions: - left - strleft - right - strright - locate - character_length - split_by_string - overlay - replace_empty
dataroaring
pushed a commit
that referenced
this pull request
Mar 27, 2025
…emoji character by mistake #49087 (#49346) pick: #49087 Related PR: #40441 Problem Summary: wrong calculation of emoji character length in some String function when do constant folding in FE. For example: select STRLEFT('😊😉👍', 2); should return 😊😉, but fe return 😊 only when folding constant fixed functions: - left - strleft - right - strright - locate - character_length - split_by_string - overlay - replace_empty
Closed
koarz
pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
…ter by mistake (apache#49087) ### What problem does this PR solve? Related PR: apache#40441 Problem Summary: wrong calculation of emoji character length in some String function when do constant folding in FE. For example: select STRLEFT('😊😉👍', 2); should return 😊😉, but fe return 😊 only when folding constant fixed functions: - left - strleft - right - strright - locate - character_length - split_by_string - overlay - replace_empty
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: #40441
Problem Summary:
Release note
wrong calculation of emoji character length in some String function when do constant folding in FE. For example:
should return
😊😉, but fe return😊only when folding constantfixed functions:
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)