Skip to content

Commit

Permalink
Remove duplicate assignment in Task::toJson method (facebookincubator…
Browse files Browse the repository at this point in the history
…#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: facebookincubator#10704

Reviewed By: Yuhta

Differential Revision: D61218912

Pulled By: xiaoxmeng

fbshipit-source-id: 4e8ddb264734bfcf7927d4473cf4f04883dff8a9
  • Loading branch information
kevincmchen authored and facebook-github-bot committed Aug 13, 2024
1 parent 5c55c63 commit 80d2f54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion velox/exec/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
Expand Down

0 comments on commit 80d2f54

Please sign in to comment.