Support procedure fast_forward for iceberg#23589
Support procedure fast_forward for iceberg#23589agrawalreetika merged 1 commit intoprestodb:masterfrom
Conversation
steveburnett
left a comment
There was a problem hiding this comment.
Thanks for the doc! I made some suggestions that I think clarify your intended meaning.
If my suggestions change the meaning in a way you think is incorrect, suggest something more correct back to me, or help me understand.
6d32e47 to
dd29ecf
Compare
steveburnett
left a comment
There was a problem hiding this comment.
LGTM! (docs)
Thanks for the quick revision! Pull updated branch, review new local doc build, looks good.
hantangwangd
left a comment
There was a problem hiding this comment.
Thanks for adding this procedure, overall looks good to me. Some little nits.
| Fast Forward Branch | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
|
|
||
| This procedure advances the current branch to a more recent snapshot from another branch without replaying any intermediate snapshots. |
There was a problem hiding this comment.
Should it be current snapshot of the specified branch rather than current branch? As I understand, the specified branch to fast-forward may not necessarily be the current branch.
| ImmutableList.of( | ||
| new Procedure.Argument("schema", VARCHAR), | ||
| new Procedure.Argument("table_name", VARCHAR), | ||
| new Procedure.Argument("branch", VARCHAR), |
There was a problem hiding this comment.
Here the argument branch is required, meanwhile in the document it is optional, please keep them consistent.
ZacBlanco
left a comment
There was a problem hiding this comment.
procedure looks good. Just some nits
...berg/src/test/java/com/facebook/presto/iceberg/procedure/TestFastForwardBranchProcedure.java
Outdated
Show resolved
Hide resolved
...berg/src/test/java/com/facebook/presto/iceberg/procedure/TestFastForwardBranchProcedure.java
Outdated
Show resolved
Hide resolved
...berg/src/test/java/com/facebook/presto/iceberg/procedure/TestFastForwardBranchProcedure.java
Outdated
Show resolved
Hide resolved
...berg/src/test/java/com/facebook/presto/iceberg/procedure/TestFastForwardBranchProcedure.java
Outdated
Show resolved
Hide resolved
...berg/src/test/java/com/facebook/presto/iceberg/procedure/TestFastForwardBranchProcedure.java
Outdated
Show resolved
Hide resolved
...berg/src/test/java/com/facebook/presto/iceberg/procedure/TestFastForwardBranchProcedure.java
Outdated
Show resolved
Hide resolved
...berg/src/test/java/com/facebook/presto/iceberg/procedure/TestFastForwardBranchProcedure.java
Outdated
Show resolved
Hide resolved
...-iceberg/src/main/java/com/facebook/presto/iceberg/procedure/FastForwardBranchProcedure.java
Show resolved
Hide resolved
dd29ecf to
acfeaec
Compare
hantangwangd
left a comment
There was a problem hiding this comment.
Thanks for the fix, one little thing, otherwise LGTM.
acfeaec to
959ee6b
Compare
959ee6b to
a87dd74
Compare
Description
Support procedure fast_forward for iceberg
Motivation and Context
Resolves #22032
Impact
Resolves #22032
Test Plan
Added tests
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.