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 db23442
Browse filesBrowse the repository at this point in the historyBrowse files
fix(results): fetch paged results with CloudFetch disabled (#436)
Setting the existing `ResultConfig.cloudfetch_enabled` option to `false`
currently makes queries fail because the kernel requests an unsupported
inline Arrow format. Applications that cannot access cloud storage
therefore cannot fetch their results.
This PR applies the option when opening the session and keeps the result
format that supports multiple inline pages. Applications can consume the
complete result through the SQL connection, including large results. An
explicit disable takes precedence over conflicting settings, and the
kernel rejects unexpected storage links before downloading them.
**Server dependency:** The warehouse must support paged inline Arrow
results. A warehouse that does not support this capability returns its
configuration error to the caller.
**Validation:** Kernel tests, formatting, and Clippy pass. Wire tests
cover option precedence, initial and continuation responses, pagination
offsets, and missing upfront result totals. A locally built Rust ADBC
driver fetched all 250,000 rows and 32 MB of payload with the expected
result hash and zero storage downloads. Enabled delivery, query errors,
session reuse, and close also passed.
---------
Signed-off-by: Aakash Saravanan <aakash.saravanan@databricks.com>
0 commit comments