lit2430 opened a new issue, #14704:
URL: https://github.com/apache/doris/issues/14704

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   doris 0.15 - 1.2
   
   ### What's Wrong?
   
   If the string does not contain a delimiter, null is returned
   
![image](https://user-images.githubusercontent.com/91309604/204743903-ab0dfbed-910e-4e09-be8e-be01a8cbaf3a.png)
   
   
   ### What You Expected?
   
   If the string does not contain a delimiter, should the original data be 
returned instead of null
   
   ### How to Reproduce?
   
   SELECT split_part ("23456/123", '/', 1 )
   
   
   SELECT split_part ("23456", '/', 1 )
   
   
   ### Anything Else?
   
   no
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to