JingsongLi opened a new pull request, #8595: URL: https://github.com/apache/paimon/pull/8595
## Purpose Prepare the primary-key index source metadata for reuse by additional source-backed index families, such as BTree and Bitmap, without changing the existing vector-index behavior. ## Changes - Move vector-specific source file, metadata, and policy classes into the shared `index.pk` package. - Rename the types to `PrimaryKeyIndexSourceFile`, `PrimaryKeyIndexSourceMeta`, and `PrimaryKeyIndexSourcePolicy`. - Update vector index maintenance, restore, search, and read paths to use the shared abstraction. - Preserve the existing version-1 serialized metadata layout and cover compatibility in the renamed tests. ## Impact This is an internal refactoring. Existing primary-key vector indexes keep the same source metadata semantics and on-disk representation. The shared types provide the foundation for later BTree and Bitmap primary-key index changes. ## Validation - 34 targeted `paimon-core` tests passed for metadata serialization, vector state restore, maintenance, search, and scan behavior. - `paimon-core` Checkstyle, Spotless, and Enforcer checks passed. - Verified that no old `PkVectorSourceFile`, `PkVectorSourceMeta`, or `PkVectorSourcePolicy` references remain in `paimon-core`. -- 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]
