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
Centralize on_start_query_execution storage in BaseCursor
Move the on_start_query_execution field from the five synchronous cursors
(Cursor, PandasCursor, ArrowCursor, PolarsCursor, S3FSCursor) into
BaseCursor.__init__, mirroring on_poll, so both connection-level callbacks
live in one place. The per-execute() override and its invocation stay in
each synchronous cursor (the broader execute() kwargs consolidation is
tracked in #691).
Async/aio/Spark cursors inherit the field but do not invoke it, as they
return the query id immediately through their execution model. Behavior is
unchanged; a clarifying comment documents this.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments