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

Revert "Core: Update TableMetadataParser to ensure all streams closed (#11220)" #11621

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

hussein-awala
Copy link
Member

@hussein-awala hussein-awala commented Nov 21, 2024

This reverts commit 2b55fef.

#11220 introduced a new bug instead of fixing the original issue, where it fixed the case where there is an exception in the GZIPOutputStream constructor, but if there is not, the stream will be closed when try-with-resources tries to close it and it will throw an exception.

The original issue will be fixed by #11609.

@amogh-jahagirdar
Copy link
Contributor

Thanks @hussein-awala , agree with just reverting this first.

@amogh-jahagirdar amogh-jahagirdar merged commit 12845d4 into apache:main Nov 21, 2024
49 checks passed
bryanck pushed a commit that referenced this pull request Nov 21, 2024
@bryanck bryanck mentioned this pull request Nov 21, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
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