liaotian1005 commented on code in PR #7633:
URL: https://github.com/apache/hudi/pull/7633#discussion_r1065467780


##########
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:
   
![image](https://user-images.githubusercontent.com/36446084/211499510-ed715efc-cb6a-4b21-b0dd-54174c51f03a.png)
   use mysql delete data ;
   DELETE from t_ds_k8s  where id = 20
   return information follower:
   Updated Rows 0
   QUERY DELETE from t_ds_k8s  where id = 20;
   t_ds_k8s is empty table .No exceptions are thrown



-- 
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]

Reply via email to