Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion marimo/_sql/engines/ibis.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ def _get_schemas(

schemas: list[Schema] = []

# Try to get schemas, with fallback for backends that don't support catalog parameter
try:
schema_names = self._connection.list_databases(catalog=database)
except (TypeError, AttributeError) as e:
Expand All @@ -219,6 +218,14 @@ def _get_schemas(
"Backend doesn't support list_databases, using default schema"
)
schema_names = [self.default_schema or "main"]
except NotImplementedError:
LOGGER.info("Introspection is not supported for this database")
return []
except Exception:
LOGGER.warning(
"Failed to get schemas for this database", exc_info=True
)
return []

for schema_name in schema_names:
if schema_name and schema_name.lower() in meta_schemas:
Expand Down
Loading