[HUDI-4023] Decouple hudi-spark from hudi-utilities-slim-bundle (#5641)
This commit is contained in:
@@ -605,8 +605,6 @@ public class DeltaSync implements Serializable {
|
||||
long totalErrorRecords = writeStatusRDD.mapToDouble(WriteStatus::getTotalErrorRecords).sum().longValue();
|
||||
long totalRecords = writeStatusRDD.mapToDouble(WriteStatus::getTotalRecords).sum().longValue();
|
||||
boolean hasErrors = totalErrorRecords > 0;
|
||||
long hiveSyncTimeMs = 0;
|
||||
long metaSyncTimeMs = 0;
|
||||
if (!hasErrors || cfg.commitOnErrors) {
|
||||
HashMap<String, String> checkpointCommitMetadata = new HashMap<>();
|
||||
if (checkpointStr != null) {
|
||||
|
||||
Reference in New Issue
Block a user