Skip to content

Conversation

@kosiew
Copy link
Contributor

@kosiew kosiew commented Apr 14, 2025

Which issue does this PR close?

Rationale for this change

#15427 changed the default EXPLAIN format to tree.

This PR updates the EXPLAIN documentation to reflect that the tree format is now the default, instead of indent. This reordering ensures that users see the format that matches actual output first, improving clarity and user experience when reading or debugging EXPLAIN plans.

What changes are included in this PR?

  • Changed section heading to state that tree is the default format.
  • Moved the tree format section above the indent format section for logical flow.
  • No functional changes—documentation update only.

Are these changes tested?

Not applicable. These are documentation-only changes and do not impact functionality.

Are there any user-facing changes?

Yes. The documentation now:

  • Reflects the tree format as the default EXPLAIN output.
  • Presents the tree format example first for easier reference.
  • Improves readability and accuracy of the EXPLAIN format guide.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 14, 2025
@kosiew kosiew force-pushed the explain-doc-default-format branch from eabaa9f to 596f131 Compare April 14, 2025 09:59
Copy link
Contributor

@getChan getChan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @kosiew and @getChan 🙏

@alamb alamb merged commit 63f37a3 into apache:main Apr 14, 2025
8 checks passed
nirnayroy pushed a commit to nirnayroy/datafusion that referenced this pull request May 2, 2025
@findepi
Copy link
Member

findepi commented May 19, 2025

follow-up - #16085

@kosiew kosiew deleted the explain-doc-default-format branch August 9, 2025 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update EXPLAIN documentation for default EXPLAIN format

4 participants