-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[Enhancement](length) Support alias OCTET_LENGTH for function LENGTH #57369
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 |
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-DS: Total hot run time: 190078 ms |
ClickBench: Total hot run time: 27.5 s |
FE Regression Coverage ReportIncrement line coverage |
|
run beut |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
…57369) An alias for `LENGTH`(see [OCTET_LENGTH in MySQL](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_octet-length): [OCTET_LENGTH()](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_octet-length) is a synonym for [LENGTH()](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_length).) ```text mysql> SELECT OCTET_LENGTH('abc'); +---------------------+ | OCTET_LENGTH('abc') | +---------------------+ | 3 | +---------------------+ mysql> SELECT OCTET_LENGTH('你好'); +------------------------+ | OCTET_LENGTH('你好') | +------------------------+ | 6 | +------------------------+ ```
…pache#57369) An alias for `LENGTH`(see [OCTET_LENGTH in MySQL](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_octet-length): [OCTET_LENGTH()](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_octet-length) is a synonym for [LENGTH()](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_length).) ```text mysql> SELECT OCTET_LENGTH('abc'); +---------------------+ | OCTET_LENGTH('abc') | +---------------------+ | 3 | +---------------------+ mysql> SELECT OCTET_LENGTH('你好'); +------------------------+ | OCTET_LENGTH('你好') | +------------------------+ | 6 | +------------------------+ ```
…pache#57369) An alias for `LENGTH`(see [OCTET_LENGTH in MySQL](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_octet-length): [OCTET_LENGTH()](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_octet-length) is a synonym for [LENGTH()](https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_length).) ```text mysql> SELECT OCTET_LENGTH('abc'); +---------------------+ | OCTET_LENGTH('abc') | +---------------------+ | 3 | +---------------------+ mysql> SELECT OCTET_LENGTH('你好'); +------------------------+ | OCTET_LENGTH('你好') | +------------------------+ | 6 | +------------------------+ ```
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
An alias for
LENGTH(see OCTET_LENGTH in MySQL: OCTET_LENGTH() is a synonym for LENGTH().)Check List (For Author)
Test
Behavior changed:
Does this need documentation?
OCTET_LENGTHinLENGTH's document.Check List (For Reviewer who merge this PR)