You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Mr rty ff <ya...@yahoo.com.INVALID> on 2016/02/14 09:53:44 UTC

Using explain plan to optimize sql query

HiI have some queries that take a long time to execute so I used an df.explain(true) to print physical and logical plans to see where the bottlenecks.As the query is very complicated I got a very unreadable  result.How can I parse it to some thing more readable and  analyze it?And another question when analyzing execution plan to what should I pay attention?
Thanks