You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "arindam patra (Jira)" <ji...@apache.org> on 2023/03/20 03:56:00 UTC
[jira] [Created] (SPARK-42860) Add analysed logical mode in org.apache.spark.sql.execution.ExplainMode
arindam patra created SPARK-42860:
-------------------------------------
Summary: Add analysed logical mode in org.apache.spark.sql.execution.ExplainMode
Key: SPARK-42860
URL: https://issues.apache.org/jira/browse/SPARK-42860
Project: Spark
Issue Type: New Feature
Components: SQL
Affects Versions: 3.2.0
Reporter: arindam patra
We have a service that submits spark sql jobs to a spark cluster .
we want to validate the sql query before submitting the job . We are currently using df.explain(extended=true) which generates parsed , analysed , optimised logical plan and physical plan .
But generating optimised logical plan sometimes takes more time for e.g if you have applied a filter on a partitioned column , spark will list all directories and take the required ones .
For our query validation purpose this doesnt make sense and it would be great if there is a explain mode that will only print the parsed and analysed logical plans only
--
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