forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-43359: [Go][Parquet] ReadRowGroups panics with canceled cont…
…ext (apache#43360) ### Rationale for this change `ReadRowGroups` needs to support externally canceled contexts, e.g. for request-scoped contexts in servers like gRPC. ### What changes are included in this PR? Additionnaly, `releaseColumns` needs to ignore columns with uninitialized data as it used in a `defer` statement. ### Are these changes tested? Yes: a new test `TestArrowReaderCanceledContext` is included. ### Are there any user-facing changes? None * GitHub Issue: apache#43359 Authored-by: sebdotv <[email protected]> Signed-off-by: Joel Lubinitsky <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters