MCPcopy Create free account
hub / github.com/PostHog/duckgres / emptySchemaRowSet

Struct emptySchemaRowSet

server/flightclient/flight_executor.go:614–616  ·  view source on GitHub ↗

emptySchemaRowSet is returned when a query produces no data rows but does have schema information (e.g., SELECT ... LIMIT 0). This preserves column names and types for callers like COPY FROM STDIN that need to inspect the target table schema.

Source from the content-addressed store, hash-verified

612// package's S3CacheControl capability, backing the `duckgres.s3_cache`
613// session GUC. Unlike the best-effort teardown actions above, errors are
614// surfaced: a SET that did not take effect on the worker must fail, not
615// silently leave the session in the wrong cache state. Workers running an
616// image that predates the action reject it with Unimplemented, which also
617// surfaces as an error.
618func (e *FlightExecutor) SetS3CacheEnabled(ctx context.Context, enabled bool) (err error) {
619 if e.dead.Load() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected