Skip to content

Commit

Permalink
Update Database name for Feature Engineering notebooks (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitjasa-db authored Sep 10, 2024
1 parent dc1dea6 commit 267b1e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ pk_columns = dbutils.widgets.get("primary_keys")
assert input_table_path != "", "input_table_path notebook parameter must be specified"
assert output_table_name != "", "output_table_name notebook parameter must be specified"

# Extract database name. Needs to be updated for Unity Catalog.
output_database = output_table_name.split(".")[0]
# Extract database name. Needs to be updated for Unity Catalog to the Schema name.
output_database = output_table_name.split(".")[1]

# COMMAND ----------

Expand Down

0 comments on commit 267b1e5

Please sign in to comment.