duckdb / dbt-duckdb

dbt (http://getdbt.com) adapter for DuckDB (http://duckdb.org)
Apache License 2.0
816 stars 69 forks source link

Prevent loading source data via plugin during dbt parsing phase #178

Closed AlexanderVR closed 1 year ago

AlexanderVR commented 1 year ago

During parsing phase (e.g. in dbt compile) dbt initially does not have an active connection.

We fix DuckDBRelation.create_from_source to not attempt to load in the source data in this case.

Fixes https://github.com/jwills/dbt-duckdb/issues/176