Hey Iceberg devs!
I've been following along the discussion about how the partition spec evolution 
in Iceberg works, and recently I've been trying to implement this in some code 
I've been writing. However, I've been trying to implement it using the 
HadoopTables API and haven't been able to figure it out.
From what I've been reading I would expect this operation to look something 
like:
        Table table = tables.create(SCHEMA, spec, tableLocation);
        TableMetadata base = table.operations.current();
        base.updatePartitionSpec(newSpec);
        table.refresh();
However, I'm not finding a way of accessing and modifying this table metadata 
when trying to use HadoopTables. Schema evolution has a nice UpdateSchema class 
for this, but am I missing something for the partition evolution side?
Would anyone be able to point me in the right direction?
Thank you!


Christine Mathiesen
Software Development Intern
BDP – Hotels.com
Expedia Group

Reply via email to