Skip to content

Commit

Permalink
map adapter type 'POSTGRES' to data_platform
Browse files Browse the repository at this point in the history
  • Loading branch information
elic-eon committed Aug 30, 2024
1 parent db31024 commit 9f95e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metaphor/dbt/cloud/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def parse_environment(environment: GetEnvironmentAdapterTypeEnvironment):
adapter_type = adapter_type.upper()
if adapter_type == "DATABRICKS":
platform = DataPlatform.UNITY_CATALOG
elif adapter_type == "POSTGRES":
platform = DataPlatform.POSTGRESQL
else:
assert (
adapter_type in DataPlatform.__members__
Expand Down

0 comments on commit 9f95e08

Please sign in to comment.