Undo functionality, i.e., “cancel/delete” fragments based on time
Currently I don’t see tiledb::Array::consolidate function takes the optional argument of timestamp, at which I’d like to consolidate.
Or put it this way, do we have api to drop the latest layers of fragments as a mechanism to roll-back to the certain historical point. I know I can open the array at a given timestamp, but not sure to permanently walk back to it.
Here is the use case:
I have a raw data written to tiledb, it goes through two stages of data transformation: trans1, trans2.
If I decide trans2 isn’t done properly, I’d like to strip trans2 fragment/timestamp, and perform another run of transformation on top of trans1. Or I’d like to cancel both trans layers and go back to the raw data stage and start all over again.