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

Commit 0a8f3f3

Browse files
authored
Merge pull request #408 from dbeatty10/dbeatty10/support-duckdb
Support connections to DuckDB for `--dbt`
2 parents 6c30cdf + 173f550 commit 0a8f3f3

File tree

4 files changed

+66
-102
lines changed

4 files changed

+66
-102
lines changed

data_diff/dbt.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ def set_connection(self):
357357
"project": rendered_credentials.get("project"),
358358
"dataset": rendered_credentials.get("dataset"),
359359
}
360+
elif conn_type == "duckdb":
361+
conn_info = {
362+
"driver": conn_type,
363+
"filepath": rendered_credentials.get("path"),
364+
}
360365
elif conn_type == "redshift":
361366
if rendered_credentials.get("password") is None or rendered_credentials.get("method") == "iam":
362367
raise Exception("Only password authentication is currently supported for Redshift.")

0 commit comments

Comments
 (0)