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 7295fce
Browse filesBrowse the repository at this point in the historyBrowse files
krn-status-fields: expose 5 status accessors on ExecutedStatement
Adds num_modified_rows(), progress(), display_message(),
diagnostic_info(), and error_details_json() getters on
ExecutedStatement. Data is parsed from the SEA
GET /sql/statements/{id} response in client/sea.rs; this
commit only exposes the accessors so the napi binding
(and Python pyo3 binding) can surface them.
Structural change: the wire-protocol StatementStatus in
types/sea.rs was previously decoding only `state` and
`error`; the five new fields are added as `Option<...>`
behind `#[serde(default)]` so they remain backward-
compatible with the absent-field SEA responses today's
classic-warehouse fixtures emit. The status struct flows
through ExecuteResult (already carrying manifest) into
ExecutedStatement, which stores it once at construction
and hands out cheap field-level accessors.
Unblocks NodeJS Operation.status() field synthesis
(feature-tracker line 39 / kernel carry-over row).
Tests:
- types::sea::tests::test_statement_status_with_extended_fields
- types::sea::tests::test_statement_status_extended_fields_absent
- tests/v0_execute_wiremock::executed_statement_surfaces_extended_status_fields
- tests/v0_execute_wiremock::executed_statement_status_fields_default_to_none
Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
0 commit comments