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
cloudfetch_enabled=false synthesises CAN_CLOUD_DOWNLOAD conf that SEA rejects (CONFIG_NOT_AVAILABLE) #196
Setting ResultConfig::cloudfetch_enabled = false makes the session unusable: the kernel synthesises a CAN_CLOUD_DOWNLOAD SEA session-conf key that the Databricks SEA backend rejects, so the first ExecuteStatement fails with CONFIG_NOT_AVAILABLE.
Reproduction
Open a session with cloudfetch_enabled = false and run any query:
letmut rc = ResultConfig::default();
rc.cloudfetch_enabled = false;let session = Session::builder().http_path(host, path).auth(pat).result(rc).open().await?;// OK
session.statement().spec().sql("SELECT * FROM samples.tpch.lineitem");let exec = stmt.execute().await;// FAILS
Session::open()succeeds — the server accepts the conf at CreateSession.
The first ExecuteStatementfails:
Error { code: SqlError,
message: "[CONFIG_NOT_AVAILABLE.WITHOUT_SUGGESTION] Configuration CAN_CLOUD_DOWNLOAD is not available. SQLSTATE: 42K0I",
sql_state: Some("42K0I"), error_code: Some("BAD_REQUEST"), retryable: false }
Impact
cloudfetch_enabled = false (the documented opt-out that should route results inline) is currently unusable against SEA — any statement on such a session fails. Reference: src/config.rs (CAN_CLOUD_DOWNLOAD synthesis when cloudfetch_enabled = false) and src/session.rs (session_conf wiring).
Expected
Either (a) the kernel uses an opt-out channel the SEA server accepts, or (b) it does not send CAN_CLOUD_DOWNLOAD when the server doesn't support it, so the statement succeeds and results are served inline.
Context
Found while auditing databricks-driver-test kernel coverage (CLOUDFETCH-012). Tracked there as kernel: bug with a #[should_panic] xfail tripwire asserting the fixed behaviour (statement succeeds inline); it flips RED when this is fixed.
Activity
oss-engineer-bot commentedon Aug 10, 2026
🤖 engineer-bot could not complete an automated fix. See the workflow run for details.