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

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

> Preserve original SQL text in QueryExecution
> --------------------------------------------
>
>                 Key: SPARK-58701
>                 URL: https://issues.apache.org/jira/browse/SPARK-58701
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.5.8, 4.0.3
>            Reporter: angerszhu
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, QueryExecution does not retain the original SQL text when a query 
> is executed through SparkSession.sql. This makes it difficult to review and 
> troubleshoot SQL executions in the Spark UI and REST API.
> This improvement preserves the original SQL text only for SQL statements 
> submitted through SparkSession.sql. The text will be displayed in the SQL 
> execution detail page, collapsed by default, and exposed through the SQL REST 
> API only when sqlText=true is specified.
> DataFrame API-generated QueryExecution instances will not include SQL text.



--
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