gratus00 commented on code in PR #27644:
URL: https://github.com/apache/datafusion/pull/27644#discussion_r4733069003
##########
datafusion/catalog/src/information_schema.rs:
##########
@@ -468,11 +468,11 @@ impl InformationSchemaConfig {
catalog_name: &str,
catalog: &dyn CatalogProvider,
) -> Result<(), DataFusionError> {
- for schema_name in catalog.schema_names() {
+ for schema_name in catalog.schema_names()? {
if schema_name != INFORMATION_SCHEMA {
// schema name may not exist in the catalog, so we need to
check
- if let Some(schema) = catalog.schema(&schema_name) {
- for table_name in schema.table_names() {
+ if let Some(schema) = catalog.schema(&schema_name)? {
+ for table_name in schema.table_names()? {
Review Comment:
https://github.com/apache/datafusion/pull/27644/changes#diff-19ed2088841360951a0de4411b1e317e993c653c5a7b4e68458933c44f42bbd8R167
see if this is satisfactory please
--
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]