Skip to content

Commit

Permalink
Update driver and operator stats when close by task (facebookincubato…
Browse files Browse the repository at this point in the history
…r#9327)

Summary:

Currently the stats are not updated if close is issued by task.

Fix facebookincubator#9301

Differential Revision: D55601334
  • Loading branch information
Yuhta authored and facebook-github-bot committed Apr 1, 2024
1 parent c8c284d commit 75ab319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions velox/exec/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ void Driver::closeByTask() {
VELOX_CHECK(isOnThread());
VELOX_CHECK(isTerminated());
closeOperators();
updateStats();
closed_ = true;
}

Expand Down

0 comments on commit 75ab319

Please sign in to comment.