We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3af7ec9 commit cedfab4Copy full SHA for cedfab4
tests/core/engine_adapter/integration/__init__.py
@@ -699,6 +699,9 @@ def drop_catalog(self, catalog_name: str):
699
return # bigquery cannot create/drop catalogs
700
if self.dialect == "databricks":
701
self.engine_adapter.execute(f"DROP CATALOG IF EXISTS {catalog_name} CASCADE")
702
+ elif self.dialect == "fabric":
703
+ # Use the engine adapter's built-in catalog dropping functionality
704
+ self.engine_adapter.drop_catalog(catalog_name)
705
else:
706
self.engine_adapter.execute(f'DROP DATABASE IF EXISTS "{catalog_name}"')
707
0 commit comments