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

Re-enable returning a temp table in python models #272

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

AlexanderVR
Copy link
Contributor

The following sequence of MRs added cursor isolation when writing back to Duckdb:

This has the consequence that any dbt python model that returns a DuckDbPyRelation referring to a temporary table will fail, since temp tables do not cross cursor boundaries.

We add a special code path to re-enable this case.

@jwills
Copy link
Collaborator

jwills commented Oct 16, 2023

Ack, thank you so much @AlexanderVR ! cc'ing @droher for his awareness as well.

@jwills jwills merged commit 30b2cd8 into duckdb:master Oct 16, 2023
29 of 30 checks passed
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.

None yet

2 participants