Skip to content

Commit

Permalink
[native] Add stage id to arbitration priority for exec::Task
Browse files Browse the repository at this point in the history
  • Loading branch information
tanjialiang committed Dec 10, 2024
1 parent cd9f2dd commit 004ee32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion presto-native-execution/presto_cpp/main/TaskManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,9 @@ std::unique_ptr<TaskInfo> TaskManager::createOrUpdateTaskImpl(
planFragment,
prestoTask->id.id(),
std::move(queryCtx),
exec::Task::ExecutionMode::kParallel);
exec::Task::ExecutionMode::kParallel,
static_cast<exec::Consumer>(nullptr),
prestoTask->id.stageId());
// TODO: move spill directory creation inside velox task execution
// whenever spilling is triggered. It will reduce the unnecessary file
// operations on remote storage.
Expand Down

0 comments on commit 004ee32

Please sign in to comment.