VaibhaveS opened a new pull request, #24200: URL: https://github.com/apache/datafusion/pull/24200
## Which issue does this PR close? - Closes #15960. ## Rationale for this change Catalog-qualified information schema queries currently return metadata from every registered catalog. For example, `my_catalog.information_schema.tables` should describe only `my_catalog`, consistent with PostgreSQL's information schema representing the current database. ## What changes are included in this PR? `InformationSchemaProvider` now receives one resolved catalog directly. Tables, columns, views, and schemas are enumerated only from that catalog. Unqualified `information_schema` queries now use the configured default catalog instead of returning metadata from all catalogs. ## Are these changes tested? Yes. Added multi-catalog SQL logic coverage for qualified and unqualified information schema queries. ## Are there any user-facing changes? Yes. Information schema results are now scoped to the resolved catalog. The `InformationSchemaProvider::new` signature now accepts a catalog name and `CatalogProvider`. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
