Garren Moore
10/04/2022, 4:59 PMdatabricks
currently supported as a connection/profile type when using prefect-dbt cli commands (like trigger_dbt_cli_command
?
RuntimeError: Command failed with exit code 1:
Could not find adapter type databricks!
Andrew Huang
10/04/2022, 5:36 PMTargetConfigs
see redshift for example:
https://github.com/PrefectHQ/prefect-dbt/blob/main/prefect_dbt/cli/credentials.py#L61-L84Garren Moore
10/04/2022, 7:07 PMCould not find adapter type databricks!
was a result of the configuration using `TargetConfigs`:
DbtCliProfile(
name="default",
target="dev",
target_configs=TargetConfigs(
type="databricks",
threads=2,
schema="my_schema",
extras={
"host": f"<http://all-the-things.cloud.databricks.com|all-the-things.cloud.databricks.com>",
"http_path": http_path,
"token": token
}
)
)
Andrew Huang
10/04/2022, 7:53 PMGarren Moore
10/04/2022, 7:55 PMCore:
- installed: 1.2.2
Andrew Huang
10/04/2022, 8:13 PMpip install dbt-databricks
Garren Moore
10/04/2022, 8:30 PMdbt-databricks
to the install works … err … a different errorAndrew Huang
10/04/2022, 8:32 PM