[HUDI-770] Organize upsert/insert API implementation under a single package (#1495)
This commit is contained in:
committed by
GitHub
parent
447ba3bae6
commit
17bf930342
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user