yathindranath commented on issue #497: Support retaining last N snapshots
URL: https://github.com/apache/incubator-iceberg/pull/497#issuecomment-540860262
 
 
   @rdblue @aokolnychyi what about the below approach?
   
   Use just one table property, may be 
"metadata.expiration.snapshot-age-millis".
   
   <pre><code>table.expireSnapshots()
   .commit()</code></pre>
   
   If the table property is defined, the above call expires older snapshots, 
else do nothing. Use either `expireOlderThan` or `retainLast` methods to 
override the table property.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to