You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/12/04 01:32:52 UTC

[GitHub] [incubator-hudi] zhedoubushishi commented on a change in pull request #1036: [HUDI-353] Add hive style partitioning path

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:
users@infra.apache.org


With regards,
Apache Git Services