Skip to content

Conversation

@wiedld
Copy link
Contributor

@wiedld wiedld commented Mar 4, 2025

Which issue does this PR close?

Rationale for this change

Make it easier to skim test case plans.

What changes are included in this PR?

Only changes the plans used in the test cases; change to include indentation.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added the core Core DataFusion crate label Mar 4, 2025
@wiedld wiedld marked this pull request as ready for review March 4, 2025 21:45
@alamb alamb changed the title Add identation to EnforceDistribution test plans. Minor: Add identation to EnforceDistribution test plans. Mar 4, 2025
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 very much @wiedld

I think this PR is a major improvement as now we can actually see the structure of the plans in the expected output as it is encoded by whitespace

cc @berkaysynnada

I'll plan to merge this PR tomorrow unless anyone would like more time to review

"RepartitionExec: partitioning=Hash([c@2], 10), input_partitions=10",
"RepartitionExec: partitioning=RoundRobinBatch(10), input_partitions=1",
"DataSourceExec: file_groups={1 group: [[x]]}, projection=[a, b, c, d, e], file_type=parquet",
&join_plan_indent2,
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@wiedld wiedld changed the title Minor: Add identation to EnforceDistribution test plans. Minor: Add indentation to EnforceDistribution test plans. Mar 4, 2025
@alamb alamb merged commit ee2498f into apache:main Mar 5, 2025
27 checks passed
@berkaysynnada
Copy link
Contributor

Seems perfect, thank you @wiedld and @alamb. I was able to check this just now. :(

danila-b pushed a commit to danila-b/datafusion that referenced this pull request Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants