Hi Y'all

We've been considering making a change to the Identity Partition Transform
builder. Unlikely all of the other builders, Identity doesn't allow you to
make
an Identity Transform with a name different from the column you are
transforming.

We want to be able to construct in memory a TableMetadata object which
matches
an existing Table without going through deserialization of a Json object and
this is one of the few places where we can't actually legally build the
metadata which
matches the Json on disk. Meaning if you have a Table whose source column
of an
identity was changed, it is impossible to build metadata from the
TableMetadata.Builder
which matches that object.

I was wondering if anyone has feelings about making the constructor public
or if
anyone knows of any reasons why making this public could cause problems.

https://github.com/apache/iceberg/issues/12943
https://github.com/apache/iceberg/pull/12975

I was hypothesizing that this relates to Hive partition mapping but I can't
think
of another reason it might matter.

Thanks for reading and I'm eager to hear anyones thoughts,
Russ

Reply via email to