Skip to content

[cherry-pick](branch-30) support split_by_regexp (#38259) (#47676) - #50272

Merged
dataroaring merged 2 commits into
apache:branch-3.0from
zhangstar333:branch-3.0-pick-split_by_regexp
Jun 18, 2025
Merged

[cherry-pick](branch-30) support split_by_regexp (#38259) (#47676)#50272
dataroaring merged 2 commits into
apache:branch-3.0from
zhangstar333:branch-3.0-pick-split_by_regexp

Conversation

@zhangstar333

@zhangstar333zhangstar333 commented Apr 22, 2025

Copy link
Copy Markdown
Contributor

bp (#38259) (#47676)
also need pick #51293

zhangstar333and others added 2 commits April 22, 2025 10:54
…t set bug. (apache#47676)
### What problem does this PR solve?
split_by_regexp function's third parameter doesn't support tinyint. This
pr is to fix it.
```
mysql> select split_by_regexp('aa,bb,cc', ',', 1);
ERROR 1105 (HY000): errCode = 2, detailMessage = the third parameter of split_by_regexp function must be a positive constant: split_by_regexp('aa,bb,cc', ',', 1)
```
@Thearas

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?

@zhangstar333

Copy link
Copy Markdown
ContributorAuthor

run buildall

@morningmanmorningman changed the title [cherry-pick](branch-30) pick (#38259) (#47676)[cherry-pick](branch-30) support split_by_regexp (#38259) (#47676)Apr 22, 2025
@doris-robot

Copy link
Copy Markdown

TeamCity cloud ut coverage result:
Function Coverage: 83.00% (1084/1306)
Line Coverage: 65.97% (17940/27194)
Region Coverage: 65.51% (8847/13505)
Branch Coverage: 55.47% (4779/8616)
Coverage Report: http://coverage.selectdb-in.cc/coverage/d00c555161c6c704b164894b707a5a061856c22b_d00c555161c6c704b164894b707a5a061856c22b_cloud/report/index.html

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 6.94% (17/245) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage40.15% (10527/26219)
Line Coverage30.83% (88660/287559)
Region Coverage29.94% (45673/152528)
Branch Coverage26.35% (23196/88028)

@HappenLeeHappenLee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Jun 13, 2025
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@dataroaringdataroaring left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dataroaring
dataroaring merged commit d499904 into apache:branch-3.0Jun 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@zhangstar333@Thearas@doris-robot@hello-stephen@HappenLee@dataroaring@Jibing-Li