master #59

Closed
claudio.atzori wants to merge 3221 commits from master into stable_ids
1 changed files with 10 additions and 0 deletions
Showing only changes of commit 524e5f3092 - Show all commits

View File

@ -149,4 +149,14 @@ public class TransformSparkJobNode {
}
}
/**
* Calculates the number of partitions allocating at most @rpt records for a single transformation task.
* @param totalInput
* @param rpt
* @return
*/
private static int getRepartitionNumber(long totalInput, Integer rpt) {
return (int) (totalInput / rpt);
}
}