diff --git a/velox/exec/Task.h b/velox/exec/Task.h index b237f4220231..497498a423a7 100644 --- a/velox/exec/Task.h +++ b/velox/exec/Task.h @@ -680,6 +680,10 @@ class Task : public std::enable_shared_from_this { terminate(TaskState::kFinished).wait(); } + int32_t numThreads() { + return numThreads_; + } + private: Task( const std::string& taskId,