From 80d2f549f704a073725605e8c48d75f299cd7846 Mon Sep 17 00:00:00 2001 From: kevincmchen Date: Tue, 13 Aug 2024 15:11:10 -0700 Subject: [PATCH] Remove duplicate assignment in Task::toJson method (#10704) Summary: The Task::toJson method currently contains a duplicate assignment of the numDriversUngrouped_ attribute, which is unnecessary and redundant. This commit removes the superfluous line to clean up the code and prevent any potential confusion. Pull Request resolved: https://github.com/facebookincubator/velox/pull/10704 Reviewed By: Yuhta Differential Revision: D61218912 Pulled By: xiaoxmeng fbshipit-source-id: 4e8ddb264734bfcf7927d4473cf4f04883dff8a9 --- velox/exec/Task.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/velox/exec/Task.cpp b/velox/exec/Task.cpp index dfe0e57a6aad..09b92facf00e 100644 --- a/velox/exec/Task.cpp +++ b/velox/exec/Task.cpp @@ -2338,7 +2338,6 @@ folly::dynamic Task::toJson() const { obj["groupedPartitionedOutput"] = groupedPartitionedOutput_; obj["concurrentSplitGroups"] = concurrentSplitGroups_; obj["numRunningSplitGroups"] = numRunningSplitGroups_; - obj["numDriversUngrouped"] = numDriversUngrouped_; obj["partitionedOutputConsumed"] = partitionedOutputConsumed_; obj["noMoreOutputBuffers"] = noMoreOutputBuffers_; obj["onThreadSince"] = std::to_string(onThreadSince_);