JanKaul commented on issue #8917: URL: https://github.com/apache/arrow-datafusion/issues/8917#issuecomment-1905675084
I think the following steps could work: 1. Create a `InformationSchemaSchemataBuilder` (similar to the [TablesBuilder](https://docs.rs/datafusion/latest/src/datafusion/catalog/information_schema.rs.html#276)) that has all the columns of the `information_schema.schemata` table. 2. Create a `make_schemata` function (similar to [make_tables](https://docs.rs/datafusion/latest/src/datafusion/catalog/information_schema.rs.html#79)) that obtains the schemas from the catalog list. This can be used to populate the previously created builder. 3. Create a `InformationSchemaSchemata` (similar to [InformationSchemaTables](https://docs.rs/datafusion/latest/src/datafusion/catalog/information_schema.rs.html#79)) that uses the `make_schemata` method to implement the `PartitionStream` trait. Maybe it helps -- 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]
