Skip to content

branch-2.1: [fix](function) fix error result in split_by_string with utf8 chars #40710 - #50689

Merged
yiguolei merged 1 commit into
branch-2.1from
auto-pick-40710-branch-2.1
May 8, 2025
Merged

branch-2.1: [fix](function) fix error result in split_by_string with utf8 chars #40710#50689
yiguolei merged 1 commit into
branch-2.1from
auto-pick-40710-branch-2.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #40710

…40710)
```
mysql []>select split_by_string('你a好b世c界','');
+-----------------------------------------------------------------------------+
| split_by_string('你a好b世c界', '') |
+-----------------------------------------------------------------------------+
| ["�", "�", "�", "a", "�", "�", "�", "b", "�", "�", "�", "c", "�", "�", "�"] |
+-----------------------------------------------------------------------------+
1 row in set (0.03 sec)
now
mysql []>select split_by_string('你a好b世c界','');
+---------------------------------------------+
| split_by_string('你a好b世c界', '') |
+---------------------------------------------+
| ["你", "a", "好", "b", "世", "c", "界"] |
+---------------------------------------------+
```
@github-actions
github-actionsBot requested a review from yiguolei as a code ownerMay 8, 2025 06:15
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@doris-robot

Copy link
Copy Markdown

BE UT Coverage Report

Increment line coverage 0.00% (0/31) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage38.89% (10285/26443)
Line Coverage29.94% (85432/285371)
Region Coverage28.60% (44049/154034)
Branch Coverage25.33% (22535/88972)

@Mryange

Copy link
Copy Markdown
Contributor

run p0

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (31/31) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage74.44% (19395/26053)
Line Coverage69.19% (196216/283578)
Region Coverage66.72% (119670/179349)
Branch Coverage59.82% (60198/100630)

@yiguolei
yiguolei merged commit 1b10860 into branch-2.1May 8, 2025
@github-actions
github-actionsBot deleted the auto-pick-40710-branch-2.1 branch May 8, 2025 11:16
GoGoWen pushed a commit to GoGoWen/incubator-doris that referenced this pull request Sep 26, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@hello-stephen@doris-robot@Mryange@yiguolei@dataroaring