bvaradar commented on a change in pull request #700: HUDI-138 - Meta Files 
handling also need to support consistency guard
URL: https://github.com/apache/incubator-hudi/pull/700#discussion_r296458099
 
 

 ##########
 File path: hoodie-cli/src/main/java/com/uber/hoodie/cli/HoodieCLI.java
 ##########
 @@ -37,6 +40,15 @@
     INIT, DATASET, SYNC
   }
 
+  public static void setConsistencyGuardConfig(ConsistencyGuardConfig config) {
+    consistencyGuardConfig = config;
+  }
+
+  public static void setBasePath(String basePath) {
+    HoodieCLI.basePath = basePath;
+    new HoodieTableMetaClient(HoodieCLI.conf, basePath, false, 
HoodieCLI.consistencyGuardConfig);
 
 Review comment:
   Good catch. Fixed.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to