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

Fix Python deadlock - execute all PyRelations through the shared execute loop, and throw exception if Pandas Scan is called while GIL is held #6186

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

Mytherin
Copy link
Collaborator

@Mytherin Mytherin commented Feb 10, 2023

Executing all relations through a common interface will also allow cancellation of write_csv, etc using Ctrl+C.

We also add an exception to pandas_scan so if it is called while the GIL is held an exception is thrown.

…ute loop, and throw exception if Pandas Scan is called while GIL is held
@Mytherin Mytherin requested a review from Tishj February 10, 2023 07:22
@Mytherin Mytherin merged commit 33d17b8 into duckdb:master Feb 10, 2023
@Mytherin Mytherin deleted the pythondeadlock branch February 16, 2023 14:41
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

1 participant