You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2026/06/20 02:10:21 UTC

[PR] [core] Add global index search mode [paimon]

JingsongLi opened a new pull request, #8296:
URL: https://github.com/apache/paimon/pull/8296

   ## Summary
   
   This PR splits the DataEvolutionBatchScan/global-index search-mode part out of #8255 into a standalone core change. It adds `global-index.search-mode` so global index scans can choose between indexed-only search and scanning unindexed raw rows when needed.
   
   ## Changes
   
   - Add `global-index.search-mode` with `fast`, `full`, and `detail` modes, defaulting to `fast`.
   - Reuse the same snapshot for global index evaluation and unindexed-row fallback planning.
   - Extract raw unindexed row scanning into `GlobalIndexUnindexedRowsScanner`.
   - Teach `GlobalIndexScanner` to report index coverage ranges for predicates.
   - Add BTree global-index coverage for fast vs full search behavior.
   - Update generated core configuration docs for the new option.
   
   ## Testing
   
   - [x] `mvn -pl paimon-core -am -Pfast-build -DskipTests -DfailIfNoTests=false compile test-compile`
   - [x] `mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false -Dtest=BtreeGlobalIndexTableTest#testBTreeGlobalIndexSearchModeControlsUnindexedData test`
   - [x] `mvn -pl paimon-api,paimon-core -DskipTests spotless:check`
   - [x] `mvn -pl paimon-docs -am -Pgenerate-docs -DskipTests package`
   
   ## Notes
   
   This intentionally excludes the vector/Python/Spark/native-renaming parts from #8255 to keep this PR focused on the core DataEvolutionBatchScan behavior.
   


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [core] Add global index search mode [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8296:
URL: https://github.com/apache/paimon/pull/8296


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org