Skip to content

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

  • Add a quiet arg to eventually and default to True - it should not print attempts be default
  • Make interval controllable and set default to 0.1 instead of 0.01. 0.1 is pretty fast in our tests. 0.01 is a bit too much.

Why are the changes needed?

When I worked with eventually in my previous experience, it filled my screen and I can't check other information. Most of the time we don't care how many attempts there are.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Locally it does not print stuff anymore by default.

Was this patch authored or co-authored using generative AI tooling?

No

@gaogaotiantian gaogaotiantian marked this pull request as ready for review January 9, 2026 19:52
@github-actions github-actions bot added the PYTHON label Jan 9, 2026
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

JIRA Issue Information

=== Test SPARK-54989 ===
Summary: Improve eventually util
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

@zhengruifeng
Copy link
Contributor

merged to master

@gaogaotiantian gaogaotiantian deleted the improve-eventually branch January 12, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants