Skip to content

branch-4.1: [Enhance](func) Delete useless code of split_by_char #64801#64815

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-64801-branch-4.1
Jun 25, 2026
Merged

branch-4.1: [Enhance](func) Delete useless code of split_by_char #64801#64815
yiguolei merged 1 commit into
branch-4.1from
auto-pick-64801-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #64801

### Release note

There is a function registration part for `SPLIT_BY_CHAR` in FE, but
there is no corresponding implementation in BE.

```sql
Doris> SELECT SPLIT_BY_CHAR('apple:banana:cherry', ':');
-- ERROR 1105 (HY000): errCode = 2, detailMessage = (127.0.0.1)[INTERNAL_ERROR]Could not find function split_by_char, arg String: String, String: String return Array(Nullable(String)) 
``` 

Since the functionality of this function has already been implemented by
`SPLIT_BY_STRING`, the implementation of this function is not meaningful
and can be directly deleted.
@github-actions github-actions Bot requested a review from yiguolei as a code owner June 25, 2026 03:18
@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

@yiguolei yiguolei merged commit 94be7fe into branch-4.1 Jun 25, 2026
28 of 32 checks passed
Sign up for free to 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.

3 participants