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

   ### Purpose
   
   Closes #1274.
   
   Support common metadata queries such as `SHOW TABLES IN reporting LIKE 
'daily_%'` without changing the existing unqualified table listing.
   
   ### Brief change log
   
   - Add scoped and filtered SHOW TABLES, SHOW CATALOGS, SHOW SCHEMAS, and SHOW 
DATABASES listings.
   - Use SQL LIKE/ILIKE expressions and normalized identifier parts, preserving 
quotes, cross-catalog isolation, result columns, and deterministic ordering.
   - Validate namespaces without loading table data, preserve catalog errors, 
and reject unsupported modifiers.
   
   ### Tests
   
   - Added three regressions covering scopes/patterns, metadata-only table/view 
listing, quoted names, empty results, missing namespaces, and unsupported 
modifiers.
   - Passed `TZ=UTC RUST_MIN_STACK=16777216 cargo test --locked -p 
paimon-datafusion --all-targets`.
   - Passed formatting and `cargo clippy --locked --no-deps -p 
paimon-datafusion --all-targets -- -D warnings`.
   
   ### API and Format
   
   No storage format or Rust public API changes. Unqualified SHOW TABLES keeps 
its existing cross-catalog scope and information-schema columns. 
Scoped/filtered listings default to the current catalog/database; SHOW SCHEMAS 
aliases SHOW DATABASES and returns database_name.
   
   ### Documentation
   
   Documented syntax, result scopes, quoting, filtering, and rejected modifiers 
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]

Reply via email to