mxm opened a new pull request, #15412:
URL: https://github.com/apache/iceberg/pull/15412
This enables incremental copy using the target table to automatically
determine where to resume. We validate that source and target are in sync at
the determined version by comparing snapshot IDs and checking that all manifest
files exist.
Example:
```java
Table sourceTable = ...
Table targetTable = ...
actions()
.rewriteTablePath(sourceTable)
.rewriteLocationPrefix(sourceLocation, targetLocation)
// Resolve startVersion from the targetTable
.targetTable(targetTable)
.execute();
```
The `targetTable()` parameter takes precedence over `startVersion(..)`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]