You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/11/03 19:42:00 UTC

[jira] [Updated] (SPARK-45782) Add Dataframe API df.explainString()

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

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

> Add Dataframe API df.explainString()
> ------------------------------------
>
>                 Key: SPARK-45782
>                 URL: https://issues.apache.org/jira/browse/SPARK-45782
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect, PySpark, Spark Core
>    Affects Versions: 4.0.0
>            Reporter: Khalid Mammadov
>            Priority: Minor
>              Labels: pull-request-available
>
> This frequently needed feature for performance optimization purposes. Users often want to look into this output in running systems and so would like to save/extract this output from running systems for later analysis.
> Current API only provided for Scala i.e. 
> {{df.queryExecution.toString()}}
> and also not located in intuitive place where average Spark user (i.e. non Expert/Scala dev) can see immediately.
> It will also avoid users using workarounds and capturing outputs with
> {code:java}
> with io.StringIO() as buf ...`:
>     df.explain(True)
> {code}
>  
> So, it would help users a lot have this output avalilable as:
> df.explainString()
> i.e. next to
> df.explain()
> so users can easily locate it and use.
>  



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