liaoxin01 opened a new pull request, #57128:
URL: https://github.com/apache/doris/pull/57128
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Refactored the nullability clearing logic in
`NereidsLoadPlanInfoCollector.java` to recursively clear nullable information
from an expression and all its children, ensuring correct nullability handling
for complex filter expressions.
```
F 2025-10-11 16:43:33,404 88673 status.h:466] Bad cast from
type:doris::vectorized::ColumnNullable* to
doris::vectorized::ColumnVector<(doris::PrimitiveType)2>*
*** Check failure stack trace: ***
@ 0x5564186efacf google::LogMessage::SendToLog()
@ 0x5564186e60e0 google::LogMessage::Flush()
@ 0x5564186e97d9 google::LogMessageFatal::~LogMessageFatal()
@ 0x5563fff5673c doris::Status::FatalError<>()
@ 0x55640b78d501
_ZZ11assert_castIPN5doris10vectorized12ColumnVectorILNS0_13PrimitiveTypeE2EEEL18TypeCheckOnRelease1EPNS1_7IColumnEET_OT1_ENKUlOS9_E_clIS8_EES5_SC_
@ 0x55640b78cd38 assert_cast<>()
@ 0x556411b8a62a
_ZZN5doris10vectorized13VCompoundPred7executeEPNS0_12VExprContextEPNS0_5BlockEPiENKUlTnbvE_clILb0EEEDav
@ 0x556411b8204d doris::vectorized::VCompoundPred::execute()
@ 0x556411c79d23 doris::vectorized::VExprContext::execute()
@ 0x556411c7fe9c
doris::vectorized::VExprContext::execute_conjuncts()
@ 0x556411c7ed6b
doris::vectorized::VExprContext::execute_conjuncts_and_filter_block()
@ 0x556411c7ea58 doris::vectorized::VExprContext::filter_block()
@ 0x5564119ca44a doris::vectorized::Scanner::_filter_output_block()
@ 0x5564119c72fd doris::vectorized::Scanner::get_block()
@ 0x5564119c660f
doris::vectorized::Scanner::get_block_after_projects()
@ 0x5564119e26e4
doris::vectorized::ScannerScheduler::_scanner_scan()
```
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] 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:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] 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]