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

Commit

Permalink
upper case for all schema name table name parameters to address DB ca…
Browse files Browse the repository at this point in the history
…se (3rd pass)
  • Loading branch information
sergioferragut committed Jan 15, 2021
1 parent b36aacf commit 0c59d72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions splicemachine/mlflow_support/mlflow_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,11 @@ def _deploy_db(db_schema_name: str,
_check_for_splice_ctx()
print("Deploying model to database...")

# database converts all object names to upper case, so we need to as well in our metadata
db_schema_name=db_schema_name.upper()
db_table_name=db_table_name.upper()


# ~ Backwards Compatability ~
if verbose:
print("Deprecated Parameter 'verbose'. Use mlflow.watch_job(<job id>) or mlflow.fetch_logs(<job id>) to get"
Expand Down

0 comments on commit 0c59d72

Please sign in to comment.