clownxc opened a new pull request, #40626:
URL: https://github.com/apache/spark/pull/40626

   ### What changes were proposed in this pull request?
   
   This PR proposes to provide a explain mode that will only print the parsed 
and analysed logical plans only
   
   ### Why are the changes needed?
   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.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   ### How was this patch tested?
   Pass GitHub Actions
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to