Mryange opened a new pull request, #69661:
URL: https://github.com/apache/doris/pull/69661
### What problem does this PR solve?
Issue Number: N/A
Related PR: #62614
Problem Summary: Backport #62614 to branch-4.2. Expression evaluation could
return a column whose size or physical type does not match the declared result,
allowing inconsistencies to propagate downstream. Add validation in
`VExpr::execute_column` and move subclass implementations to
`execute_column_impl` with read-only selectors. Adapt type validation to the
4.2 APIs, including valid non-nullable results for nullable declared types.
### Release note
None
### Check List (For Author)
- Test:
- Validation: `BUILD_TYPE=ASAN sh build.sh --be --clean -j48` passed.
- Unit and regression tests were not run.
- Behavior changed: Yes. Invalid expression result sizes or types now return
an error.
- Does this need documentation: 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]