danny0405 commented on code in PR #7633:
URL: https://github.com/apache/hudi/pull/7633#discussion_r1065453967
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -1637,8 +1637,6 @@ protected void
setWriteSchemaForDeletes(HoodieTableMetaClient metaClient) {
} else {
throw new HoodieIOException("Latest commit does not have any schema
in commit metadata");
}
- } else {
- throw new HoodieIOException("Deletes issued without any prior
commits");
}
Review Comment:
I'm, wondering what the behavior is if we delete from an empty MySQL or
PostgresSQL table then, we better keep in line with the RDBMS semantics.
--
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]