shyjsarah opened a new pull request, #996: URL: https://github.com/apache/paimon-rust/pull/996
## Summary Expose `SQLContext::sql_with_options` so callers can apply DataFusion `SQLOptions` while retaining Paimon SQL routing. The existing `SQLContext::sql` behavior remains unchanged and uses the default options. ## Changes - Add an additive public API that accepts `SQLOptions`. - Propagate the options through statements and rewritten queries delegated to DataFusion. - Cover statement restrictions for SET/RESET, COPY, and nested COPY under EXPLAIN. ## Testing - [x] `cargo test --locked -p paimon-datafusion --test sql_context_tests test_sql_with_options_propagates -- --nocapture` - [x] `cargo check --locked -p paimon-datafusion` - [x] `cargo fmt --all -- --check` - [x] `cargo clippy --locked -p paimon-datafusion --all-targets -- -D warnings` ## Notes This is an additive public API change. Existing callers of `SQLContext::sql` are unaffected. -- 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]
