JingsongLi opened a new pull request, #1546: URL: https://github.com/apache/paimon-rust/pull/1546
### Purpose Data-evolution tables expose `_ROW_ID` as a virtual column for row tracking. In `SQLContext::sql`, expand `SELECT *` and qualified wildcards to data columns and keep explicit projections such as `SELECT *, "_ROW_ID"` available. ### Brief change log - Apply visibility during SQL projection planning and retain explicit exports through subqueries, CTEs, and views. - Preserve wildcard semantics across joins, recursive CTEs, and `REPLACE`. Reuse database and table bindings within a statement for Paimon catalogs. - Validate positional inserts against the target data columns and preserve compatible full-width inserts. Persist wildcard visibility in REST views and retain the setting in legacy view DDL exports. ### Tests - `RUST_MIN_STACK=16777216 cargo test --locked -p paimon-datafusion --all-targets` - `cargo +1.98.0 clippy --locked -p paimon-datafusion --features vortex --all-targets -- -D warnings` - `cargo +1.98.0 fmt --all -- --check` ### API and Format The wildcard rule applies to `SQLContext::sql`. Raw DataFusion sessions expand the full table provider schema. View settings use the existing REST view schema options map. New persistent wildcard views over data-evolution tables require a Rust DataFusion reader that understands their visibility option. Views with explicit output lists can be shared with earlier readers. ### Documentation Document the wildcard and persistent-view behavior in the SQL guide. -- 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]
