abhishekmjain commented on code in PR #4151:
URL: https://github.com/apache/gobblin/pull/4151#discussion_r2485236521
##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/activity/impl/CommitActivityImpl.java:
##########
@@ -290,4 +303,13 @@ private static String calcCommitId(WUProcessingSpec
workSpec) {
private static WorkUnitStream createEmptyWorkUnitStream() {
return new BasicWorkUnitStream.Builder(Lists.newArrayList()).build();
}
+
+ private List<DatasetTaskSummary>
convertDatasetStatsToTaskSummaries(Map<String, DatasetStats> datasetStats) {
+ List<DatasetTaskSummary> datasetTaskSummaries = Lists.newArrayList();
+ for (Map.Entry<String, DatasetStats> entry : datasetStats.entrySet()) {
+ datasetTaskSummaries.add(new DatasetTaskSummary(entry.getKey(),
entry.getValue().getRecordsWritten(), entry.getValue().getBytesWritten(),
entry.getValue().isSuccessfullyCommitted(),
entry.getValue().getDataQualityCheckStatus()));
+ }
+ log.info("Converted dataset stats to task summaries: {}",
datasetTaskSummaries);
Review Comment:
Not really needed, this change is required to satisfy for grpc limits which
is hit during transfer of output from one step to other.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]