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 2022/01/20 18:49:32 UTC

[GitHub] [hudi] nsivabalan commented on a change in pull request #4605: [HUDI-2432] Adding restore.requested instant and restore plan for restore action

nsivabalan commented on a change in pull request #4605:
URL: https://github.com/apache/hudi/pull/4605#discussion_r789059377



##########
File path: hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java
##########
@@ -348,6 +349,13 @@ public HoodieTimeline getRollbackTimeline() {
     return getActiveTimeline().getRollbackTimeline();
   }
 
+  /**
+   * Get restore timeline.
+   */
+  public HoodieTimeline getRestoreTimeline() {

Review comment:
       we have a precedence and I am just following the same 
   ```
   public HoodieTimeline getCleanTimeline() {
       return getActiveTimeline().getCleanerTimeline();
     }
   
     /**
      * Get rollback timeline.
      */
     public HoodieTimeline getRollbackTimeline() {
       return getActiveTimeline().getRollbackTimeline();
     }
   
     /**
      * Get restore timeline.
      */
     public HoodieTimeline getRestoreTimeline() {
       return getActiveTimeline().getRestoreTimeline();
     }
   .
   .
   
   ```




-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org