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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #63166
   
   Problem Summary: Datelike cast implementations assert the concrete input 
column type before dereferencing it. If runtime-filter or scan 
common-expression evaluation passes an unexpected or null input column, the 
cast path can crash instead of returning an error.
   
   ### Release note
   
   Fix BE crash when datelike cast receives an unexpected input column in 
scan/runtime-filter expression evaluation.
   
   ### Check List (For Author)
   
   - Test: Manual test
       - BE format check: build-support/check-format.sh --files 
be/src/exprs/function/cast/cast_to_date.h
   - Behavior changed: Yes, invalid datelike cast input columns now return a 
runtime error instead of crashing
   - Does this need documentation: No


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