Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 10, 2023

Conversation

AlexanderVR
Copy link
Contributor

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 #176

@jwills jwills merged commit bed8795 into duckdb:master Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception: DuckDBConnectionManager environment requested before creation! when using SQLAlchemy plugin
2 participants