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.
| 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. |
| 618 | func (e *FlightExecutor) SetS3CacheEnabled(ctx context.Context, enabled bool) (err error) { |
| 619 | if e.dead.Load() { |
nothing calls this directly
no outgoing calls
no test coverage detected