Shekharrajak opened a new pull request, #69027:
URL: https://github.com/apache/doris/pull/69027

   Issue Number: Part of #48203
   
   Add BE execution support for `ord(string)` and its `unicode` alias.
   The function returns the first Unicode code point as INT, propagates
   NULL, and returns -1 for empty strings or malformed leading UTF-8.
   
   The implementation reuses the existing string-to-number function
   template and ICU decoder, writing directly into the output column.
   
   
   ### Release note
   
   None yet. The function is not exposed through the SQL frontend.
   
   ### Check List (For Author)
   
   - Test:
       - Added BE unit tests for both aliases, Unicode boundaries,
         malformed UTF-8, row boundaries, empty strings, NULLs,
         nullable/non-nullable columns, and constant arguments.
       - Passed clang-format 16, build hygiene, and git diff --check.
       - Unit tests have not executed: local BE dependency/toolchain
         setup is incomplete. No red/green TDD result is claimed.
       - Clang-tidy and regression testing remain pending.
   - Behavior changed: Yes — adds two BE function names; existing
     functions are unchanged.
   - Does this need documentation: Yes — website documentation PR pending.
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [x] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [x] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [x] Confirm the release note
   - [x] Confirm test cases
   - [x] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


-- 
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