Skip to content
Discussion options

You must be logged in to vote

You need to set spark.sql.adaptive.enabled=false and then use explain.

set spark.sql.adaptive.enabled=false;

EXPLAIN FORMATTED SQL
planName=$(echo "$plan" | grep -E '^\([0-9]+\)')
echo "$planName" | wc -l
echo "$planName" | grep -E  "Native" | wc -l

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cxzl25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants