Hi Vikram,
There no way to do that "on the fly". It's actually rather an Iceberg issue, there are a couple users hitting that exact same problem.
From Iceberg itself it's definitely not possible, because Iceberg reads the metadata pointer before you have a chance to change it, as you correctly noticed.
The only way I can think of would be to have a tool do that. It would roughly do this - just using the nessie-client artifact:
The downside is obviously that you effectively lose access to the
Iceberg metadata referenced in older Nessie commits, because it's
not possible to change an existing commit (and won't be possible).
However, this might be acceptable?
Do you want to take a stab at writing such a tool maybe? We
already have some "infra" in place in Nessie in the "content
generator tool":
https://github.com/projectnessie/nessie/tree/main/tools/content-generator
Robert
PS: Feel free to join our chat
https://project-nessie.zulipchat.com/
--
You received this message because you are subscribed to the Google Groups "projectnessie" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectnessi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectnessie/CAKxebTB%3D0T7gWrygmfs-DSEneCgYQnwhwkM6cxCQASWjNg8c0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
-- Robert Stupp @snazy