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 2020/10/12 15:31:30 UTC

[GitHub] [hudi] lw309637554 commented on a change in pull request #2082: [WIP] hudi cluster write path poc

lw309637554 commented on a change in pull request #2082:
URL: https://github.com/apache/hudi/pull/2082#discussion_r503374310



##########
File path: hudi-client/src/main/java/org/apache/hudi/table/HoodieCopyOnWriteTable.java
##########
@@ -125,6 +128,16 @@ public HoodieWriteMetadata bulkInsertPrepped(JavaSparkContext jsc, String instan
         this, instantTime, preppedRecords, bulkInsertPartitioner).execute();
   }
 
+  @Override
+  public Option<HoodieClusteringPlan> scheduleClustering(JavaSparkContext jsc, String instantTime, Option<Map<String, String>> extraMetadata) {
+    return new ScheduleClusteringActionExecutor(jsc, config, this, instantTime, extraMetadata).execute();
+  }
+
+  @Override
+  public HoodieWriteMetadata clustering(JavaSparkContext jsc, String compactionInstantTime) {
+    return new RunClusteringActionExecutor(jsc, config, this, compactionInstantTime).execute();
+  }
+

Review comment:
       
   Thanks, Will pay attention to this




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