jackylee-ch opened a new pull request, #10163: URL: https://github.com/apache/paimon/pull/10163
### Purpose The pypaimon CLI already exposes `table full-text-search`, but there is no equivalent for vector search even though the vector search API (`Table.new_vector_search_builder()`) is fully implemented. To run a nearest-neighbor query from the command line users currently have to fall back to writing Python. This adds a `table vector-search` command that mirrors `full-text-search`: it takes the vector column (`--column`), a query vector (`--query`, given as comma-separated floats or a JSON-style array), an optional result limit (`--limit`, default 10), column selection (`--select`) and output format (`--format table|json`), runs the search locally and prints the matching rows. ### Tests `pypaimon/tests/cli_table_test.py`: added unit tests for the query-vector parser (comma / JSON array / whitespace / empty / non-numeric) and CLI tests for the error paths (invalid vector, unknown column, unknown table). ### API and Format No public API or format change; new CLI subcommand only, no default changed. ### Documentation Consistent with the existing `full-text-search` CLI command; `--help` lists the new command and its options. -- 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]
