You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calling .pl(lazy=True) Fails to extend the lifetime of the cursor being called from #161
While actually executing the duckdb query is dependent on the cursor, it seems that the lifetime isn't kept up with the lazy frame, leading to: ComputeError: caught exception during execution of a Python source, exception: ConnectionException: Connection Error: Connection has already been closed
Maybe this is kindof related to issue #128 where I see;
ComputeError: caught exception during execution of a Python source, exception: InvalidInputException: Invalid Input Error: Attempting to execute an unsuccessful or closed pending query result.
Activity
paultiq commentedon Nov 5, 2025
A similar example is:
duckdb.connect().sql("select * from range(10)").to_arrow_table()mouzkolit commentedon Nov 14, 2025
Maybe this is kindof related to issue #128 where I see;
ComputeError: caught exception during execution of a Python source, exception: InvalidInputException: Invalid Input Error: Attempting to execute an unsuccessful or closed pending query result.
mouzkolit commentedon Jan 21, 2026
Hi, is there any update in this ?
Add ref to connection in relation so it doesn't get closed prematurely (
evertlammerts commentedon Feb 19, 2026
Fixed in #329