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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #70631, #70591
   
   Problem Summary:
   
   Backport two ANN storage fixes to Apache Doris branch-4.1. A non-negated 
equality predicate can be pruned when both segment zone-map bounds match its 
value and the segment has no NULLs. This allows eligible MOW ANN TopN queries 
to use the index when the delete-sign filter is true for the entire segment.
   
   Release ANN build resources and seal index files after each segment, 
including segments that carry inherited indexes and have no columns to rebuild. 
This preserves the branch's rowset publication boundary. The snapshot wrapper 
and SNII paths from the upstream fixes are absent on this branch.
   
   ### Release note
   
   Avoid unnecessary brute-force fallback for MOW ANN TopN queries and reduce 
peak memory during historical ANN index builds.
   
   ### Testing
   
   - Clang-format 16 and `git diff --check` passed on the Apache branch-4.1 
candidate.
   - The identical five changed files passed an ASAN BE build and all 18 
`BlockColumnPredicateTest.*` cases on the SelectDB 4.1 backport. Apache 
branch-4.1 build and regression results are pending.
   
   ### Check List (For Author)
   
   - Behavior changed. See Problem Summary.
   - Documentation changes are unnecessary.
   
   AI disclosure: Codex assisted with the backport and verification.
   


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