Uh oh!
There was an error while loading. Please reload this page.
[fix](function) fix Substring/SubReplace error result with input utf8… - #40954
Conversation
… string (apache#40929) ``` mysql [(none)]>select sub_replace("你好世界","a",1); +-------------------------------------+ | sub_replace('你好世界', 'a', 1) | +-------------------------------------+ | �a�好世界 | +-------------------------------------+ mysql [(none)]>select SUBSTRING('中文测试',5); +------------------------------------------+ | substring('中文测试', 5, 2147483647) | +------------------------------------------+ | 中文测试 | +------------------------------------------+ 1 row in set (0.04 sec) now mysql [(none)]>select sub_replace("你好世界","a",1); +-------------------------------------+ | sub_replace('你好世界', 'a', 1) | +-------------------------------------+ | 你a世界 | +-------------------------------------+ 1 row in set (0.05 sec) mysql [(none)]>select SUBSTRING('中文测试',5); +------------------------------------------+ | substring('中文测试', 5, 2147483647) | +------------------------------------------+ | | +------------------------------------------+ 1 row in set (0.13 sec) ```
doris-robot
commented
Sep 19, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Mryange
commented
Sep 19, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
Mryange
commented
Sep 21, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 21, 2024
TeamCity be ut coverage result: |
Mryange
commented
Sep 21, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 21, 2024
TeamCity be ut coverage result: |
80512d3 to
346b644CompareMryange
commented
Sep 21, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 21, 2024
TeamCity be ut coverage result: |
… string (#40929)
#40929
Proposed changes
Issue Number: close #xxx