JingsongLi opened a new pull request, #8421:
URL: https://github.com/apache/paimon/pull/8421

   ## Summary
   
   Add a high-level `pypaimon.multimodal` API for local Python applications on 
top of data-evolution tables. The facade provides connection/table helpers, 
ergonomic write and merge flows, vector/text/hybrid search, and documentation 
for the new API surface.
   
   ## Changes
   
   - Add `pypaimon.multimodal.connect` and `MultimodalConnection` for 
filesystem and REST catalog-backed usage with default data-evolution table 
options.
   - Add `MultimodalTable` helpers for `add`, `update`, `merge`, `scan`, 
`search_vector`, `search_vectors`, `search_text`, `search_hybrid`, and 
`create_index`.
   - Add query wrappers for scan, vector, batch vector, text, and hybrid 
searches that return Arrow/Pandas/list results directly.
   - Move the SQL-like where parser from the CLI package into `pypaimon.common` 
so both CLI and multimodal APIs can share it.
   - Add Multimodal API documentation and sidebar entry.
   - Add focused tests covering table creation defaults, merge behavior, search 
builders, index aliases, connection options, and shared where parsing.
   
   ## Testing
   
   - [x] `python -m py_compile paimon-python/pypaimon/multimodal/connection.py 
paimon-python/pypaimon/multimodal/table.py 
paimon-python/pypaimon/multimodal/query.py 
paimon-python/pypaimon/multimodal/__init__.py 
paimon-python/pypaimon/common/where_parser.py`
   - [x] `python -m pytest 
paimon-python/pypaimon/tests/multimodal_table_test.py 
paimon-python/pypaimon/tests/where_parser_test.py`
   
   ## Notes
   
   - The new multimodal facade is intentionally scoped to data-evolution tables 
without primary keys.
   - `search_text` and hybrid text routes expose a simple string query at the 
multimodal layer; lower-level full-text query objects remain outside this 
facade.
   


-- 
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]

Reply via email to