diff options
author | aozeritsky <aozeritsky@ydb.tech> | 2023-06-23 22:21:20 +0300 |
---|---|---|
committer | aozeritsky <aozeritsky@ydb.tech> | 2023-06-23 22:21:20 +0300 |
commit | ff830e2d9c86bad562f37efa644439f178b2ef58 (patch) | |
tree | ba067694f9dfa8f936025ba6eed32bc5f0d32ce5 | |
parent | 2173d52a5add689a6791d41222f2fb5f6fc67033 (diff) | |
download | ydb-ff830e2d9c86bad562f37efa644439f178b2ef58.tar.gz |
Fix operation statistics
-rw-r--r-- | ydb/library/yql/providers/dq/actors/task_controller_impl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ydb/library/yql/providers/dq/actors/task_controller_impl.h b/ydb/library/yql/providers/dq/actors/task_controller_impl.h index 59b8e35680..796877d193 100644 --- a/ydb/library/yql/providers/dq/actors/task_controller_impl.h +++ b/ydb/library/yql/providers/dq/actors/task_controller_impl.h @@ -543,8 +543,7 @@ public: for (int i = 0; i < static_cast<int>(tasks.size()); ++i) { auto actorId = ActorIdFromProto(actorIds[i]); - NYql::NDqProto::TDqTask& task = tasks[i]; - Tasks.emplace_back(NDq::TDqTaskSettings(&task), actorId); + const auto& task = Tasks.emplace_back(NDq::TDqTaskSettings(&tasks[i]), actorId).first; ActorIds.emplace(task.GetId(), actorId); TaskIds.emplace(actorId, task.GetId()); Yql::DqsProto::TTaskMeta taskMeta; |