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

Verify no stream use after close in in-memory tests #5019

Conversation

findepi
Copy link
Member

@findepi findepi commented Jun 13, 2022

The in-memory InputFile and OutputFile implementations has an
undesirable property that returned streams allowed use after close.
Since most streams don't have such property, it should be disallowed
here too.

Extracted from #4537 per #4741 (comment)

The in-memory `InputFile` and `OutputFile` implementations has an
undesirable property that returned streams allowed use after close.
Since most streams don't have such property, it should be disallowed
here too.
@rdblue rdblue merged commit 38145f5 into apache:master Jun 14, 2022
@rdblue
Copy link
Contributor

rdblue commented Jun 14, 2022

Thanks, @findepi!

@findepi findepi deleted the findepi/verify-no-stream-use-after-close-in-in-memory-tests-a1d57d branch June 14, 2022 08:30
namrathamyske pushed a commit to namrathamyske/iceberg that referenced this pull request Jul 10, 2022
The in-memory `InputFile` and `OutputFile` implementations has an
undesirable property that returned streams allowed use after close.
Since most streams don't have such property, it should be disallowed
here too.
namrathamyske pushed a commit to namrathamyske/iceberg that referenced this pull request Jul 10, 2022
The in-memory `InputFile` and `OutputFile` implementations has an
undesirable property that returned streams allowed use after close.
Since most streams don't have such property, it should be disallowed
here too.
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