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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Problem Summary:
   
   Root cause: unscoped enums implicitly convert to integers, and integer 
parameters accept unrelated enum values, weakening compile-time type checking 
in BE execution and expressions.
   
   Use scoped enums for tablet routing, function state scope, and geometry 
types/statuses. Replace integer Hash Join template parameters and 
runtime-filter/WKB interfaces with their actual enum types, and update source, 
test, grammar, and benchmark callers. Use constexpr constants for scalar-group 
indexes and remove an unused JSON enum. Existing encoded values and DateTime 
value types remain unchanged.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test:
       - [x] No need to test or manual test. Explain why:
           - [x] This is a refactor/code format and no logic has been changed 
in supported execution paths.
           - [x] Previous test can cover this change.
       - Validation: clang-format 16, git diff --check, and 
build-support/check-build-hygiene.sh passed. BE compilation, unit tests, 
regression tests, and clang-tidy have not been run locally.
   - Behavior changed:
       - [x] No.
   - Does this need documentation?
       - [x] No.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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