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: Fix Failing TPC-DS Test #11331

Merged
merged 2 commits into from
Jul 8, 2024
Merged

Conversation

berkaysynnada
Copy link
Contributor

@berkaysynnada berkaysynnada commented Jul 8, 2024

Which issue does this PR close?

Closes #11322.

Rationale for this change

We need to generate at least one partition to have a valid plan that conforms to distribution requirements.

What changes are included in this PR?

For MemoryExec used in tpc-ds tests, empty partition is changed as one partition.

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Jul 8, 2024
@ozankabak ozankabak requested a review from alamb July 8, 2024 11:47
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 @berkaysynnada 🙏

I tried this locally and it worked great.

@alamb alamb merged commit 1ea6545 into apache:main Jul 8, 2024
23 checks passed
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
* Update sql_planner.rs

* Update sql_planner.rs
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jul 18, 2024
* Update sql_planner.rs

* Update sql_planner.rs
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
2 participants