airborne12 opened a new pull request, #69239: URL: https://github.com/apache/doris/pull/69239
### What problem does this PR solve? Issue Number: N/A Related PR: #69172, #69206 Problem Summary: Backport #69172 after #69206 introduced the shared inverted-index query engine to branch-4.2. Dense unscored conjunctions now skip terms held by every row, write a lone term directly to the result bitmap, use branch-free block intersection, and bound streaming-source batches. Query results are unchanged. Source PR: https://github.com/apache/doris/pull/69172 Source squash commit: `f937d950d45313f20864d287df453e1b90f5c615` (cherry-picked with `-x`). ### Release note None ### Check List (For Author) - Test - [x] Regression test: `test_match_format_parity` passed on an isolated branch-4.2 FE/BE cluster after rebasing onto `ecd322ad31193cda19cf4f3b08e0f3f9d12dd67c` (1 suite, 0 failures). - [x] Unit Test: `ListedTermsTest.*:CursorChainedPostings.*` passed (41 tests in 2 suites); all 9 source-added tests were listed and executed. No sanitizer report. - [x] Manual test: `./build.sh --be -j64` and `./build.sh --fe -j8` passed; isolated backend reported `Alive=true`, and `SELECT 1` succeeded. - Behavior changed: - [x] No. Unscored conjunction execution is faster; query results are unchanged. - Does this need documentation? - [x] No. ### Validation - `build-support/check-format.sh`: PASS. - Complete merged-tree format preflight against `origin/branch-4.2`: PASS. - Complete PR diff English description check: PASS (5 source files, no exceptions). - Branch-4.2 has no `build-support/run-clang-tidy.sh`; the branch's BE build and format gates passed. ### Hunk audit The source squash patch ID matches the final source PR head. The cherry-pick was clean, and every changed file has a byte-identical postimage to the source commit. | Source file | Disposition | | --- | --- | | `be/src/storage/index/inverted/query/engine/boolean_query/listed_terms.cpp` | Ported (verbatim) | | `be/src/storage/index/inverted/query/exec/cursor_chained_postings.cpp` | Ported (verbatim) | | `be/src/storage/index/inverted/query/exec/cursor_chained_postings.h` | Ported (verbatim) | | `be/test/storage/index/inverted/query/engine/boolean_query/listed_terms_test.cpp` | Ported (verbatim) | | `be/test/storage/index/inverted/query/exec/cursor_chained_postings_test.cpp` | Ported (verbatim) | `git range-diff` shows only the `-x` cherry-pick provenance line; the code patch is unchanged. -- 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]
