aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraozeritsky <aozeritsky@ydb.tech>2023-06-23 22:21:20 +0300
committeraozeritsky <aozeritsky@ydb.tech>2023-06-23 22:21:20 +0300
commitff830e2d9c86bad562f37efa644439f178b2ef58 (patch)
treeba067694f9dfa8f936025ba6eed32bc5f0d32ce5
parent2173d52a5add689a6791d41222f2fb5f6fc67033 (diff)
downloadydb-ff830e2d9c86bad562f37efa644439f178b2ef58.tar.gz
Fix operation statistics
-rw-r--r--ydb/library/yql/providers/dq/actors/task_controller_impl.h3
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;