File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -417,15 +417,14 @@ def test_dml_rowcount_wiring_does_not_break_dml(conn):
417417 cur .execute (f"DROP TABLE IF EXISTS { tbl } " )
418418
419419
420- # ── Async execution: state + result come from the server ( attach-by-id) ──
420+ # ── Async execution: owning handle first, attach-by-id for re-fetch/resume ──
421421
422422
423423def test_async_execute_polls_and_fetches_result (conn ):
424424 """The full async CUJ: ``execute_async`` → poll
425- ``get_query_state`` → ``get_async_execution_result``. State comes
426- from the server by re-attaching to the statement id; first
427- in-process result fetch uses the retained owning handle so kernel
428- async telemetry is finalized."""
425+ ``get_query_state`` → ``get_async_execution_result``. The first
426+ in-process flow uses the retained owning handle so kernel async
427+ telemetry is finalized."""
429428 with conn .cursor () as cur :
430429 cur .execute_async ("SELECT 7 AS n" )
431430 cur .get_async_execution_result () # polls to terminal, fetches
Original file line number Diff line number Diff line change @@ -1125,7 +1125,7 @@ def test_kernel_error_during_result_set_construction_is_mapped():
11251125
11261126
11271127# ---------------------------------------------------------------------------
1128- # get_execution_result is re-callable via attach-by-id
1128+ # get_execution_result uses the owning handle once, then attach-by-id
11291129# ---------------------------------------------------------------------------
11301130
11311131
You can’t perform that action at this time.
0 commit comments