Skip to content

Conversation

@liujiwen-up
Copy link
Contributor

pick from master:
#41681

…_in (apache#41681)

trim_in is different from trim
Find and remove any characters in a set of characters at both ends of a
string (regardless of order)

mysql> SELECT TRIM('abcd', 'cde');
+---------------------+
| trim('abcd', 'cde') |
+---------------------+
| abcd                |
+---------------------+
1 row in set (0.02 sec)

mysql> SELECT TRIM_IN('abcd', 'cde');
+------------------------+
| trim_in('abcd', 'cde') |
+------------------------+
| ab                     |
+------------------------+
1 row in set (0.02 sec)
@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@liujiwen-up
Copy link
Contributor Author

run buildall

@liujiwen-up
Copy link
Contributor Author

run external

@liujiwen-up liujiwen-up changed the title [cherry-pick](branch3.0) impl scalar functions trim_in、ltrim_in and rtrim_in [cherry-pick](branch3.0) impl scalar functions trim_in, ltrim_in and rtrim_in Dec 9, 2024
@liujiwen-up
Copy link
Contributor Author

run buildall

@dataroaring dataroaring merged commit 0bd1aba into apache:branch-3.0 Dec 9, 2024
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