Skip to content

Commit

Permalink
Fixed Glue job script spreadsheet_library_tracking_metadata OUT_NAME_DOT
Browse files Browse the repository at this point in the history
  • Loading branch information
victorskl committed Jan 11, 2025
1 parent 0c4dcff commit 19475ba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
DB_NAME = "orcavault"

# Prepare out path with naming convention
OUT_NAME_DOT = f"{DB_NAME}.{SCHEMA_NAME}.{BASE_NAME}"
OUT_NAME = f"{DB_NAME}_{SCHEMA_NAME}_{BASE_NAME}"
OUT_PATH = f"/tmp/{OUT_NAME}"

Expand Down Expand Up @@ -187,7 +188,7 @@ def transform():
sql += f'{col}\tvarchar,\n'
i += 1

sql_schema = f"""CREATE TABLE IF NOT EXISTS {OUT_NAME}
sql_schema = f"""CREATE TABLE IF NOT EXISTS {OUT_NAME_DOT}
(
{sql}
);"""
Expand Down

0 comments on commit 19475ba

Please sign in to comment.