JingsongLi opened a new pull request, #8794: URL: https://github.com/apache/paimon/pull/8794
## What changed - Let generic global-index scanners read indexes with source metadata on tables without primary keys. - Count those indexes in global-index coverage and Data Evolution full-text planning. - Keep source-backed indexes excluded from generic readers on primary-key tables. - Add regression coverage for scanner selection, mixed index coverage, and full-text reads. ## Why GlobalIndexMeta.sourceMeta describes the source mapping but should not act as a primary-key index type marker. Data Evolution indexes may also carry this metadata, and filtering them out makes valid incremental indexes invisible to readers. ## Impact Data Evolution tables can continue querying rebuilt or incrementally maintained indexes that carry source metadata. Primary-key index routing remains unchanged. ## Tests - mvn -pl paimon-core -nsu -Pfast-build -DwildcardSuites=none -Dtest=GlobalIndexScannerTest,BtreeGlobalIndexTableTest#testDataEvolutionSourceBackedIndexParticipatesInGlobalRowIdScan+testOrdinaryAndSourceBackedBTreeIndexCoverageCanCoexist,FullTextSearchBuilderTest#testDataEvolutionFullTextScanReadsSourceBackedIndex test - mvn -pl paimon-core -nsu -DskipTests compile -- 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]
