You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/12/10 09:40:34 UTC

[GitHub] [incubator-iceberg] prodeezy opened a new pull request #695: [WIP] Cherrypick snapshot feature

prodeezy opened a new pull request #695: [WIP] Cherrypick snapshot feature
URL: https://github.com/apache/incubator-iceberg/pull/695
 
 
   This is an early prototype with a working version of the cherry-pick feature. This initial version only picks appends from the audit snapshot and creates an output snapshot which is published to the table.
   
   Example usage: 
   ```
   table.newAppend()
           .appendFile(FILE_A)
           .set("wap.id", "12345678")
           .stageOnly()
           .commit();
   
   Snapshot auditSnapshot = base.snapshots().get(1);
   
   table.cherrypick().fromSnapshotId(auditSnapshot.snapshotId()).commit();
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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