Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Sep 25, 2025

Which issue does this PR close?

Rationale for this change

The fix for #17594 was requested for inclusion in DataFusion 50.1.0.

What changes are included in this PR?

Are these changes tested?

Yes new tests

Are there any user-facing changes?

No

…7684)

* fix

* Update mod.rs

* Update mod.rs

* Update mod.rs

* tests copied from v1 pr

* test case from review comment

apache#17684 (comment)

* one more test case

* Update mod.rs

* Update datafusion/physical-plan/src/windows/mod.rs

Co-authored-by: Andrew Lamb <[email protected]>

* Update datafusion/physical-plan/src/windows/mod.rs

Co-authored-by: Andrew Lamb <[email protected]>

* Update mod.rs

* Update mod.rs

---------

Co-authored-by: Piotr Findeisen <[email protected]>
Co-authored-by: Andrew Lamb <[email protected]>
@alamb alamb changed the title [branch-50] Part of https://github.com/apache/datafusion/issues/17594 [branch-50] Backport Prevent exponential planning time for Window functions - v2 #17684 Sep 25, 2025
@github-actions github-actions bot added core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) physical-plan Changes to the physical-plan crate labels Sep 25, 2025
@alamb alamb marked this pull request as ready for review September 25, 2025 18:43
@alamb
Copy link
Contributor Author

alamb commented Sep 26, 2025

CI Failure is due to out of disk space, which @2010YOUY01 fixed on main. I have retriggered things

@alamb
Copy link
Contributor Author

alamb commented Sep 26, 2025

@2010YOUY01 or @Jefffrey -- do either if you two remember what PR fixed the "out of space on device" problems on CI?

I spent a few minutes trying to find it and I couldn't despite my best github archeology skills.

This PR (backporting to branch-50) is hitting it https://github.com/apache/datafusion/actions/runs/18017424338/job/51322145417?pr=17778

rustc-LLVM ERROR: IO failure on output stream: No space left on device
error: could not compile datafusion-functions-nested (lib test)

@Jefffrey
Copy link
Contributor

If it's the recent CI failures it was this one: #17677

@alamb

@alamb
Copy link
Contributor Author

alamb commented Sep 26, 2025

If it's the recent CI failures it was this one: #17677

@alamb

Yes, exactly that one @Jefffrey -- thank you!

I made a PR to backport that fix to the branch-50 branch too:

@alamb
Copy link
Contributor Author

alamb commented Sep 26, 2025

Merged up to get #17795 and hopefully it will pass CI this time

@alamb alamb enabled auto-merge (squash) September 26, 2025 18:12
@alamb alamb requested a review from findepi September 26, 2025 18:12
@alamb alamb merged commit 0aa2938 into apache:branch-50 Sep 26, 2025
28 checks passed
@alamb alamb deleted the alamb/backport_planning_fix branch September 26, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate physical-plan Changes to the physical-plan crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants