You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/12/23 17:10:54 UTC

[iceberg] branch master updated: Core: Fix method description for SnapshotUtil::oldestAncestorAfter (#6479)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b62b13eb1 Core: Fix method description for SnapshotUtil::oldestAncestorAfter (#6479)
5b62b13eb1 is described below

commit 5b62b13eb1027b9d0a50059d744c231658ff5449
Author: Yufei Gu <yu...@apache.org>
AuthorDate: Fri Dec 23 09:10:47 2022 -0800

    Core: Fix method description for SnapshotUtil::oldestAncestorAfter (#6479)
---
 core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java b/core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java
index 489ab809e9..c7d36bdc00 100644
--- a/core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java
+++ b/core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java
@@ -149,7 +149,8 @@ public class SnapshotUtil {
   }
 
   /**
-   * Finds the oldest snapshot of a table that was committed either at or after a given time.
+   * Traverses the history of the table's current snapshot, finds the oldest snapshot that was
+   * committed either at or after a given time.
    *
    * @param table a table
    * @param timestampMillis a timestamp in milliseconds