JingsongLi opened a new pull request, #1459: URL: https://github.com/apache/paimon-rust/pull/1459
### Purpose SQL clients migrating Paimon maintenance and search statements hit `Unknown procedure` for several operations that the Rust runtime already implements. Add SQL entry points that reuse those implementations. Related to the partition maintenance request in #286. ### Brief change log - Add `CALL sys.rollback` and `CALL sys.drop_partition`. Return the previous and current snapshot IDs for rollback, and validate every partition specification before committing a partition drop. - Add `CALL sys.create_function` and `CALL sys.drop_function` for persistent catalog function metadata. - Add `CALL sys.vector_search` and `CALL sys.full_text_search` using the existing DataFusion search providers. ### Tests - Passed 706 tests after rebasing onto Apache `main`. - `RUST_MIN_STACK=16777216 cargo test --locked -p paimon-datafusion --lib --test procedures --test read_tables --test sql_context_tests --test rest_management_procedures` - `cargo fmt --all -- --check` ### API and Format The six procedures support named and positional arguments. Search procedures accept an optional column projection and return typed DataFusion rows. Flink JSON score output, per-call filters, and search options remain unsupported. There is no storage format change. ### Documentation The SQL guide documents the new procedures, parameters, result schemas, compatibility limits, and examples. -- 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]
