n3nash commented on a change in pull request #1274: [HUDI-571] Add 'commits
show archived' command to CLI
URL: https://github.com/apache/incubator-hudi/pull/1274#discussion_r374439658
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieDefaultTimeline.java
##########
@@ -143,6 +143,83 @@ public HoodieTimeline filter(Predicate<HoodieInstant>
filter) {
return new HoodieDefaultTimeline(instants.stream().filter(filter),
details);
}
+ /**
+ * Get all instants (commits, delta commits) that produce new data, in the
active timeline.
+ */
+ public HoodieTimeline getCommitsTimeline() {
Review comment:
@vinothchandar just pinging to resurface this since it might be lost in the
large number of notifications :)
----------------------------------------------------------------
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