You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ebyhr (via GitHub)" <gi...@apache.org> on 2026/03/16 04:31:10 UTC

[PR] API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs [iceberg]

ebyhr opened a new pull request, #15642:
URL: https://github.com/apache/iceberg/pull/15642

   The method accepts both branches and tags: 
   
   https://github.com/apache/iceberg/blob/11dbe2f091edd4ac492f210c878d22386ec9d605/core/src/test/java/org/apache/iceberg/TestSnapshotManager.java#L545-L579


-- 
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: issues-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on PR #15642:
URL: https://github.com/apache/iceberg/pull/15642#issuecomment-4067228002

   Merged to main.
   Thanks for the fix @ebyhr!


-- 
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: issues-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs [iceberg]

Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on code in PR #15642:
URL: https://github.com/apache/iceberg/pull/15642#discussion_r2938538907


##########
api/src/main/java/org/apache/iceberg/ManageSnapshots.java:
##########
@@ -209,8 +209,8 @@ default ManageSnapshots createBranch(String name) {
   /**
    * Updates the retention policy for a reference.
    *
-   * @param name branch name
-   * @param maxRefAgeMs retention age in milliseconds of the tag reference itself
+   * @param name reference name

Review Comment:
   Thanks for your feedback, makes sense. Just added a fixup commit. Could you take another look when you have time? 



-- 
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: issues-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary merged PR #15642:
URL: https://github.com/apache/iceberg/pull/15642


-- 
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: issues-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] API: Fix javadoc of ManageSnapshots.setMaxRefAgeMs [iceberg]

Posted by "pvary (via GitHub)" <gi...@apache.org>.
pvary commented on code in PR #15642:
URL: https://github.com/apache/iceberg/pull/15642#discussion_r2938500061


##########
api/src/main/java/org/apache/iceberg/ManageSnapshots.java:
##########
@@ -209,8 +209,8 @@ default ManageSnapshots createBranch(String name) {
   /**
    * Updates the retention policy for a reference.
    *
-   * @param name branch name
-   * @param maxRefAgeMs retention age in milliseconds of the tag reference itself
+   * @param name reference name

Review Comment:
   Could we add that these references Could be both branches and tags? Reference is a bit ambiguous without context



-- 
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: issues-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org