-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature](function) upper lower support utf8 input #49231
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:
|
|
run buildall |
TPC-H: Total hot run time: 32291 ms |
TPC-DS: Total hot run time: 185553 ms |
ClickBench: Total hot run time: 30.87 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
zclllyybb
left a comment
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.
这个得有足够多的testcase才行,把特殊情况都覆盖到。
|
run buildall |
TPC-H: Total hot run time: 32325 ms |
TPC-DS: Total hot run time: 191762 ms |
ClickBench: Total hot run time: 31.35 s |
zclllyybb
left a comment
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 anyone and no changes requested. |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
|
run cloud_p0 |
| sp.set(data, size); | ||
| icu::UnicodeString unicode_str = icu::UnicodeString::fromUTF8(sp); | ||
| unicode_str.toUpper(); | ||
| std::string output; |
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.
why pass output as the param, reuse the string mem.
|
run buildall |
TPC-H: Total hot run time: 32554 ms |
TPC-DS: Total hot run time: 192183 ms |
ClickBench: Total hot run time: 31 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
HappenLee
left a comment
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. |
upper lower supports SQL similar to this
```
select lower('ÀÇ')
```
### What problem does this PR solve? #49231
upper lower supports SQL similar to this
```
select lower('ÀÇ')
```
What problem does this PR solve?
upper lower supports SQL similar to this
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)