1
0

[HUDI-770] Organize upsert/insert API implementation under a single package (#1495)

This commit is contained in:
Balaji Varadarajan
2020-04-12 23:11:00 -07:00
committed by GitHub
parent 447ba3bae6
commit 17bf930342
39 changed files with 2703 additions and 859 deletions

View File

@@ -69,4 +69,8 @@ public enum WriteOperationType {
throw new HoodieException("Invalid value of Type.");
}
}
public static boolean isChangingRecords(WriteOperationType operationType) {
return operationType == UPSERT || operationType == UPSERT_PREPPED || operationType == DELETE;
}
}