Skip to content

Commit 4f099ef

Browse files
authored
Minor - Missing catalog_id in create_database (#1480)
1 parent 04d32f9 commit 4f099ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/catalog/_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def create_database(
644644
args["Description"] = description
645645

646646
try:
647-
r = client_glue.get_database(Name=name)
647+
r = client_glue.get_database(**_catalog_id(catalog_id=catalog_id, Name=name))
648648
if not exist_ok:
649649
raise exceptions.AlreadyExists(f"Database {name} already exists and <exist_ok> is set to False.")
650650
if description and description != r["Database"].get("Description", ""):

0 commit comments

Comments
 (0)