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
Commit 19b3b5c
Browse filesBrowse the repository at this point in the historyBrowse files
Adds a fourth buffered_table_* RPC. The C++ Sink+Source operator fires it
from its GlobalSinkState destructor regardless of success / cancel /
throw. The worker handler:
* Pops any in-flight finalize iterators for execution_id (process-local
generator stack frames; no FunctionStorage equivalent).
* Calls storage.execution_clear() to wipe function_state and
function_state_log rows for the scope.
Idempotent: missing entries are not errors. Storage cleanup wrapped in
try/except: failures are logged but don't propagate (we're in a
destructor on the worker side and called from a destructor on the C++
side; throwing here would mask the original error). Backstop for missed
deliveries is FunctionStorage's cleanup_old_entries(max_age_days=1).
Protocol additions:
* BufferedTableDestructorRequest{function_name, execution_id,
attach_opaque_data}
* BufferedTableDestructorResponse (empty ack)
Also: register the new method in MetaWorker (otherwise the meta dispatch
fails the protocol-implementation check at startup) and in the
conformance allowlist as NotExposed (DuckDB-only, mirrors the
aggregate_destructor entry).
C++ codegen + wiring lands in the vgi repo in the next commit.
Tests: all 27 table_in_out integration tests pass. vgi-python suite:
31 failed / 1651 passed — baseline failure count unchanged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments