zhedoubushishi commented on a change in pull request #1036: [HUDI-353] Add hive 
style partitioning path
URL: https://github.com/apache/incubator-hudi/pull/1036#discussion_r353510140
 
 

 ##########
 File path: hudi-hive/src/main/java/org/apache/hudi/hive/HiveSyncTool.java
 ##########
 @@ -163,6 +163,11 @@ private void syncSchema(boolean tableExists, boolean 
isRealTime, MessageType sch
    */
   private void syncPartitions(List<String> writtenPartitionsSince) {
     try {
+      if (cfg.useHiveStylePartitioning) {
+        LOG.info("Sync partitions through MSCK Repair");
+        hoodieHiveClient.syncPartitionsByMSCK();
 
 Review comment:
   I see. Then it seems we should not use "MSCK" here.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to