Skip to content

Minor: improve error message when file creation failed#17217

Merged
2010YOUY01 merged 1 commit into
apache:mainfrom
2010YOUY01:err-msg-fopen
Aug 19, 2025
Merged

Minor: improve error message when file creation failed#17217
2010YOUY01 merged 1 commit into
apache:mainfrom
2010YOUY01:err-msg-fopen

Conversation

@2010YOUY01

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

When running the tests with cargo test --test fuzz, some spilling execution test might fail under the default file descriptor number limit.
I think the failure is system-dependent, some system might have very small default ulimit, so changing the test case to spill less file might not fix the problem entirely.

This PR improves the error message to inform developers to set ulimit -n 4096 when the test fails.
If more similar configuration requirements arise in the future, we might consider providing a wrapper around cargo test.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Aug 17, 2025

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you @2010YOUY01

Thank you -- this is a nice, pragmatic solution in my mind

@2010YOUY01
2010YOUY01 merged commit 3eceedc into apache:main Aug 19, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

2 participants