Skip to main content

Module sql

Module sql 

Source

Structs§

ColumnInfoResponse
DistributedReadRequest
Explicit remote-read entry point. The coordinator registration is kept separate from legacy /sql, so an unsupported distributed request can never silently execute as a local SQL query.
SqlRequest
SqlResponse
SqlResultResponse

Functions§

begin_distributed_read
Reject an explicit distributed-read request when this server has no registered fenced range-read coordinator. This route intentionally does not call the legacy local SQL route: capability absence is observable and classified before a query can produce local rows.
cancel_distributed_read
Deliver an idempotent cancellation to the coordinator and every registered range peer. Ownership is verified against the authenticated HTTP profile.
handle
stream_distributed_read
Stream an already prepared distributed result. A coordinator registers the execution before dispatch and calls publish_prepared only after every range has supplied its P2.10 cleanup acknowledgement through P2.11.