Skip to content

Do not display logical_plan win explain tree mode 🧹 #15132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Mar 10, 2025

Which issue does this PR close?

Rationale for this change

See #15020

I mostly want to focus our PRs for tree mode and keep the slt diff down

What changes are included in this PR?

Do not print logical plans in explain tree mode

Are these changes tested?

yes

Are there any user-facing changes?

@@ -1727,7 +1727,10 @@ impl DefaultPhysicalPlanner {
let config = &session_state.config_options().explain;
let explain_format = DisplayFormatType::from_str(&config.format)?;

if !config.physical_plan_only {
let skip_logical_plan = config.physical_plan_only
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the code change

@github-actions github-actions bot added core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Mar 10, 2025
@alamb
Copy link
Contributor Author

alamb commented Mar 11, 2025

Thanks @xudong963 !

@alamb alamb merged commit ed2c1ca into apache:main Mar 11, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not print logical plans in tree explain format
2 participants