You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "shyjsarah (via GitHub)" <gi...@apache.org> on 2026/07/21 08:43:27 UTC
[PR] fix(datafusion): avoid loading tables for SHOW TABLES [paimon-rust]
shyjsarah opened a new pull request, #576:
URL: https://github.com/apache/paimon-rust/pull/576
### Purpose
Linked issue: close #575
`SHOW TABLES` should use catalog metadata without opening every listed table. The default DataFusion `SchemaProvider::table_type` implementation calls `table(name)`, which can initialize FileIO and turn a metadata-only operation into a table access.
### Brief change log
- collect base-table and view types while listing catalog objects
- override `PaimonSchemaProvider::table_type` to use the collected metadata instead of loading table providers
- preserve temporary table/view precedence and catalog view classification
- keep direct table reads on the existing lazy-loading path
- add regression coverage for unavailable table loading and catalog view types
### Tests
- `cargo fmt --all -- --check`
- `cargo test -p paimon-datafusion --test sql_context_tests`
- `cargo clippy -p paimon-datafusion --all-targets -- -D warnings`
### API and Format
No public API or storage format changes.
### Documentation
No documentation changes are required.
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(datafusion): avoid loading tables for SHOW TABLES [paimon-rust]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #576:
URL: https://github.com/apache/paimon-rust/pull/576
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org