Skip to content
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

[MINOR]: Move tests from repartition to enforce_distribution file #7539

Merged
merged 1 commit into from
Sep 13, 2023
Merged

[MINOR]: Move tests from repartition to enforce_distribution file #7539

merged 1 commit into from
Sep 13, 2023

Conversation

mustafasrepo
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

In the PR#7488. We combined Repartition and EnforceDistiribution rule into single rule. To not clutter that PR, with file changes, and code moving. I kept tests under repartition.rs file in that file. Even though that file no longer contained a rule implementation.

What changes are included in this PR?

With this PR, we move tests under repartition.rs to under enforce_distribution.rs so that tests will be under relevant file.
Please note that some tests are not exactly equal (schemas are different, etc, utils construct sligtly different executors etc). But they are equal in the spirit.

Are these changes tested?

Existing tests should work

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Sep 13, 2023
Copy link
Contributor

@metesynnada metesynnada left a comment

Choose a reason for hiding this comment

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

LGTM since they only involve moving the code and don't introduce any new changes.

@Dandandan Dandandan merged commit cf229b8 into apache:main Sep 13, 2023
21 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants