Skip to content

Commit

Permalink
Fix bug in intermidiated data writes stats collection
Browse files Browse the repository at this point in the history
  • Loading branch information
arhimondr committed May 31, 2019
1 parent f65d4d9 commit 7bd1426
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ private QueryStats getQueryStats(Optional<StageInfo> rootStage)
}

if (plan.isMaterializedExchangeSource()) {
writtenOutputPhysicalDataSize += stageStats.getPhysicalWrittenDataSize().toBytes();
writtenIntermediatePhysicalDataSize += stageStats.getPhysicalWrittenDataSize().toBytes();
}
else {
writtenOutputPositions += stageInfo.getStageStats().getOperatorSummaries().stream()
Expand Down

0 comments on commit 7bd1426

Please sign in to comment.