Skip to content

Commit

Permalink
[GLUTEN-3547][VL] [Minor] Remove the space in taskid name (#3797)
Browse files Browse the repository at this point in the history
  • Loading branch information
JkSelf authored Nov 22, 2023
1 parent 35756a1 commit cd7be81
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cpp/velox/compute/WholeStageResultIterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,10 @@ WholeStageResultIteratorFirstStage::WholeStageResultIteratorFirstStage(
std::shared_ptr<velox::core::QueryCtx> queryCtx = createNewVeloxQueryCtx();

task_ = velox::exec::Task::create(
fmt::format("Gluten {}", taskInfo_.toString()), std::move(planFragment), 0, std::move(queryCtx));
fmt::format("Gluten_Stage_{}_TID_{}", std::to_string(taskInfo_.stageId), std::to_string(taskInfo_.taskId)),
std::move(planFragment),
0,
std::move(queryCtx));

if (!task_->supportsSingleThreadedExecution()) {
throw std::runtime_error("Task doesn't support single thread execution: " + planNode->toString());
Expand Down Expand Up @@ -518,7 +521,10 @@ WholeStageResultIteratorMiddleStage::WholeStageResultIteratorMiddleStage(
std::shared_ptr<velox::core::QueryCtx> queryCtx = createNewVeloxQueryCtx();

task_ = velox::exec::Task::create(
fmt::format("Gluten {}", taskInfo_.toString()), std::move(planFragment), 0, std::move(queryCtx));
fmt::format("Gluten_Stage_{}_TID_{}", std::to_string(taskInfo_.stageId), std::to_string(taskInfo_.taskId)),
std::move(planFragment),
0,
std::move(queryCtx));

if (!task_->supportsSingleThreadedExecution()) {
throw std::runtime_error("Task doesn't support single thread execution: " + planNode->toString());
Expand Down

0 comments on commit cd7be81

Please sign in to comment.