-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[Feature](func) Support function soundex #55731
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:
|
regression-test/suites/nereids_p0/sql_functions/string_functions/test_string_function.groovy
Show resolved
Hide resolved
run buildall |
FE UT Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
run buildall |
TPC-H: Total hot run time: 34703 ms
|
TPC-DS: Total hot run time: 189951 ms
|
ClickBench: Total hot run time: 30.37 s
|
FE Regression Coverage ReportIncrement line coverage |
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.
besides, please add fe fold implementation for this function.
fixed |
run buildall |
TPC-H: Total hot run time: 34955 ms
|
TPC-DS: Total hot run time: 189676 ms
|
ClickBench: Total hot run time: 29.88 s
|
FE UT Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
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
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.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 35149 ms
|
FE UT Coverage ReportIncrement line coverage |
TPC-H: Total hot run time: 34506 ms
|
TPC-DS: Total hot run time: 189604 ms
|
ClickBench: Total hot run time: 30.21 s
|
FE Regression Coverage ReportIncrement line coverage |
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
The
SOUNDEX
function computes the American Soundex value, which consists of the first letter followed by a three-digit sound code that represents the English pronunciation of the input string.Returns a VARCHAR(4) string consisting of an uppercase letter followed by a three-digit numeric sound code representing English pronunciation.
If the string is empty or contains no letter characters, an empty string is returned.
If the string to be processed contains non-ASCII characters, the function will throw an exception during the calculation process.
If the input is NULL, NULL is returned.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)