Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Commit 0c59d72

Browse files
author
sergioferragut
committed
upper case for all schema name table name parameters to address DB case (3rd pass)
1 parent b36aacf commit 0c59d72

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

splicemachine/mlflow_support/mlflow_support.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,11 @@ def _deploy_db(db_schema_name: str,
883883
_check_for_splice_ctx()
884884
print("Deploying model to database...")
885885

886+
# database converts all object names to upper case, so we need to as well in our metadata
887+
db_schema_name=db_schema_name.upper()
888+
db_table_name=db_table_name.upper()
889+
890+
886891
# ~ Backwards Compatability ~
887892
if verbose:
888893
print("Deprecated Parameter 'verbose'. Use mlflow.watch_job(<job id>) or mlflow.fetch_logs(<job id>) to get"

0 commit comments

Comments
 (0)