Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Support connections to DuckDB for --dbt #408

Merged
merged 6 commits into from
Mar 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions data_diff/dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ def set_connection(self):
"project": rendered_credentials.get("project"),
"dataset": rendered_credentials.get("dataset"),
}
elif conn_type == "duckdb":
conn_info = {
"driver": conn_type,
"filepath": rendered_credentials.get("path"),
}
elif conn_type == "redshift":
if rendered_credentials.get("password") is None or rendered_credentials.get("method") == "iam":
raise Exception("Only password authentication is currently supported for Redshift.")
Expand Down
Loading