wangzhigang1999 opened a new pull request, #9553: URL: https://github.com/apache/paimon/pull/9553
### Purpose Closes #9552. `MultimodalTable.search()` and `search_vectors()` currently infer a vector column only when the schema contains one fixed-size vector field. Callers still need to pass `column` when multiple vector fields have different dimensions, even though the query dimension can identify one field. This PR resolves vector columns by matching the query dimension to `FixedSizeListType.list_size`. It also validates explicitly selected columns and rejects mixed dimensions in `search_vectors()`. Multiple columns with the same dimension remain ambiguous and require `column`. ### Tests - [x] `pypaimon/tests/multimodal_table_test.py`: 80 passed - [x] Flake8 on the changed Python files - [x] Python compilation check on the changed Python files - [x] `git diff --check` -- 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]
