You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2026/03/07 11:07:00 UTC
[jira] [Created] (SPARK-55881) Add missing fields to SQL execution REST API (queryId, errorMessage, subExecutionIds)
Kent Yao created SPARK-55881:
--------------------------------
Summary: Add missing fields to SQL execution REST API (queryId, errorMessage, subExecutionIds)
Key: SPARK-55881
URL: https://issues.apache.org/jira/browse/SPARK-55881
Project: Spark
Issue Type: Sub-task
Components: SQL, Web UI
Affects Versions: 4.2.0
Reporter: Kent Yao
The SQL execution REST API (/api/v1/applications/{appId}/sql/) is missing several fields that are available in the internal SQLAppStatusStore but not exposed via the REST API:
- queryId (UUID) — user-facing query identifier, available since SPARK-47136
- errorMessage (String) — error details for failed executions
- subExecutionIds (Seq[Long]) — parent/child execution hierarchy
These fields are needed by the client-side SQL tab DataTables rendering (SPARK-55875) to achieve feature parity with the original server-rendered page.
The ExecutionData class in sql/core/src/main/scala/org/apache/spark/status/api/v1/sql/api.scala needs to be extended with these fields, and SqlResource.scala needs to populate them from the store.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org