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

   ### What problem does this PR solve?
   
   Related PR: #67732
   
   Problem Summary:
   
   Backport the nullable projected COUNT safety fix to branch-4.1. Aggregate 
arguments are normalized through the Project before comparing them with filter 
slots, preventing unsafe COUNT_ON_INDEX pushdown for IS NULL predicates. The 
regression test is adapted to the 4.1 IndexType API.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [x] Unit Test
   - Behavior changed:
       - [x] Yes. Unsafe storage-layer count pushdown is rejected for nullable 
projected count slots.
   - 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