Hi,

There is a PR published just today for something similar that you might be able 
to reference: https://github.com/apache/iceberg/pull/5888, which rolls back a 
compaction commit on conflict and then reapply the changes. The logic seems to 
be similar as what you want, to rollback to that specific snapshot and try to 
reapply the ones you still want.

Best,
Jack Ye

From: Pucheng Yang <py...@pinterest.com.INVALID>
Reply-To: "dev@iceberg.apache.org" <dev@iceberg.apache.org>
Date: Thursday, September 29, 2022 at 2:27 PM
To: "dev@iceberg.apache.org" <dev@iceberg.apache.org>
Subject: [EXTERNAL] Reverting a commit in the table history?

Hi all,

I wonder if any discussion happened about the idea of reverting a commit in the 
table history?

My clients have such a use case: they are writing some data into a partition, 
and later want to revert that. But since there are new snapshots generated, 
thus they can not use snapshot rollback.

Any comments are welcome! Thanks!

Best,
Pucheng

Reply via email to