Skip to content

fix(compute): preserve caller context during execution - #1154

Draft
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/compute-preserve-caller-context
Draft

fix(compute): preserve caller context during execution#1154
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/compute-preserve-caller-context

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What

Keep the supplied context attached to compute execution so cancellation reaches result collection. Drain pending results before returning so the executor is not reused while work is still finishing.

Test

  • go test ./arrow/compute -count=1
  • go test -race ./arrow/compute -run ^TestCallFunctionPreservesCallerCancellation -count=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant