nichunen commented on a change in pull request #579: KYLIN-3926 set
sourceRecordCount when updating statistics
URL: https://github.com/apache/kylin/pull/579#discussion_r273989590
##########
File path:
engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/MergeStatisticsStep.java
##########
@@ -120,8 +129,11 @@ protected ExecuteResult doWork(ExecutableContext context)
throws ExecuteExceptio
tempFile.delete();
}
}
+ sourceRecordCount *= effectiveTimeRange == 0 ? 0 :
newSegment.getTSRange().duration() / effectiveTimeRange;
Review comment:
I mean the division
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services