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

Spark: Fix failing SS UT #7414

Merged
merged 1 commit into from
Apr 23, 2023
Merged

Conversation

singhpk234
Copy link
Contributor

About the change

As part of implementing SupportsAdmissionControl we now implement Offset latestOffset(Offset startOffset, ReadLimit limit); it faces the same problem as here #6480 , this change now throws an IllegalStateException instead of NPE and the ci for rate-limit pr had not run been rebased and re-run this couldn't be caught.

This pr attempts to fix the issue by having the similar handling.

Testing

failing ut's pass now

cc @jackye1995

@jackye1995
Copy link
Contributor

Thanks for the quick fix! Will merge asap after CI passes to unblock other people

@jackye1995 jackye1995 merged commit bdcc55b into apache:master Apr 23, 2023
manisin pushed a commit to Snowflake-Labs/iceberg that referenced this pull request May 9, 2023
Co-authored-by: Prashant Singh <psinghvk@amazon.com>
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.

2 participants