Sorry for the late reply.
There is no public API for updating a table's partition spec right now.
Tables can handle multiple specs, but you would have to use an approach
like Thippana suggested.
We also have a few internal things that we need to fix to avoid collisions
in metadata tables. Right n
One approach is to extend BaseTable and HadoopTableOperations classes.
public static class IcebergTable extends BaseTable {
private final IcebergTableOperations ops;
private IcebergTable(IcebergTableOperations ops, String name) {
super(ops, name);
this.ops = ops;
}
IcebergTableO