File tree Expand file tree Collapse file tree
tests/core/engine_adapter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,9 +267,8 @@ def test_catalog_operations(ctx: TestContext):
267267 pytest .skip ("Catalog operation tests only need to run once so we skip anything not query" )
268268 catalog_name = "testing"
269269 if ctx .dialect == "databricks" :
270- # We don't create a catalog because we don't have a dedicated databricks environment to test against
271- # and we don't want to pollute with extra catalogs
272- catalog_name = "system"
270+ catalog_name = "catalogtest"
271+ ctx .engine_adapter .execute (f"CREATE CATALOG IF NOT EXISTS { catalog_name } " )
273272 elif ctx .dialect == "tsql" :
274273 ctx .engine_adapter .cursor .connection .autocommit (True )
275274 try :
@@ -320,7 +319,8 @@ def create_objects_and_validate(schema_name: str):
320319 pytest .skip ("Drop Schema Catalog tests only need to run once so we skip anything not query" )
321320 catalog_name = "testing"
322321 if ctx .dialect == "databricks" :
323- catalog_name = "test_ingest"
322+ catalog_name = "catalogtest"
323+ ctx .engine_adapter .execute (f"CREATE CATALOG IF NOT EXISTS { catalog_name } " )
324324 elif ctx .dialect == "tsql" :
325325 ctx .engine_adapter .cursor .connection .autocommit (True )
326326 try :
You can’t perform that action at this time.
0 commit comments