airborne12 commented on PR #70968: URL: https://github.com/apache/doris/pull/70968#issuecomment-7253227394
Dismissed the automated review from 2026-11-24 that requested changes, since its only finding is fixed. - Finding (P1): when an index had no NULL rows and no terms, its sparse norms were the last section of the index, and a segment rewrite on a BE without #70883, which copies up to the end of the last section it knows, would drop them while keeping their reference. - Fix: 0b480e5a299 (91051d3f3d4 before the rebase). `LogicalIndexWriter::build_norms_section` keeps sparse norms only when `null_docids_` or `term_hashes_` is not empty, that is when the null bitmap or the bloom filter follows the norms; such an index keeps dense norms. - Tests: `SniiSparseNormsTest.NormsThatWouldEndTheIndexStayDense` failed before the fix and passes after it; `SniiSparseNormsTest.OlderRewritersCopyTheSparseSection` checks that the sections an older BE knows cover the sparse section wherever the writer keeps it. - The automated reviews at 91051d3f3d4 and c1064abca78 confirmed the fix and found nothing new. The rebase onto master kept the fix unchanged (same patch id). -- 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]
