JingsongLi opened a new pull request, #11288: URL: https://github.com/apache/paimon/pull/11288
### Purpose The Spark build procedure and vector index factory use the typed sharding key to select the range or centroid layout introduced in #11249. A per-field setting could be overlooked, and stored field JSON could shadow an explicit build option. Resolve sharding in the shared vector option resolver before selecting the layout. Procedure options take precedence over stored table settings. Within each source, field scope takes precedence over index-type scope. Include a documented per-field example. ### Tests - Ran all 23 vector option resolution cases and 24 native factory cases on Java 8. - Covered a field-only override, an unrelated column, stored field JSON with an explicit typed override, and field and typed options supplied together. - Verified indexer selection for IVF-FLAT, IVF-PQ, IVF-SQ, IVF-RQ and DiskANN. -- 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]
