We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef2cd8b commit 1e78339Copy full SHA for 1e78339
src/duckdb_py/pyconnection.cpp
@@ -465,6 +465,9 @@ shared_ptr<DuckDBPyConnection> DuckDBPyConnection::ExecuteMany(const py::object
465
466
unique_ptr<QueryResult> DuckDBPyConnection::CompletePendingQuery(PendingQueryResult &pending_query) {
467
PendingExecutionResult execution_result;
468
+ if (pending_query.HasError()) {
469
+ pending_query.ThrowError();
470
+ }
471
while (!PendingQueryResult::IsResultReady(execution_result = pending_query.ExecuteTask())) {
472
{
473
py::gil_scoped_acquire gil;
0 commit comments