Skip to content

Commit

Permalink
Use query context to schedule tasks following rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
westonpace committed Dec 26, 2022
1 parent 0836573 commit 80afd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/exec/asof_join_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ class AsofJoinNode : public ExecNode {

bool CheckEnded() {
if (state_.at(0)->Finished()) {
ErrorIfNotOk(plan_->ScheduleTask([this] {
ErrorIfNotOk(plan_->query_context()->ScheduleTask([this] {
Defer cleanup([this]() { finished_.MarkFinished(); });
outputs_[0]->InputFinished(this, batches_produced_);
return Status::OK();
Expand Down

0 comments on commit 80afd92

Please sign in to comment.