[ 
https://issues.apache.org/jira/browse/SPARK-55881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-55881:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to