RussellSpitzer commented on a change in pull request #3421:
URL: https://github.com/apache/iceberg/pull/3421#discussion_r740241993



##########
File path: core/src/main/java/org/apache/iceberg/BaseUpdatePartitionSpec.java
##########
@@ -242,7 +242,7 @@ public PartitionSpec apply() {
         // field IDs were not required for v1 and were assigned sequentially 
in each partition spec starting at 1,000.
         // to maintain consistent field ids across partition specs in v1 
tables, any partition field that is removed
         // must be replaced with a null transform. null values are always 
allowed in partition data.
-        builder.add(field.sourceId(), field.fieldId(), field.name(), 
Transforms.alwaysNull());
+        builder.add(field.sourceId(), field.fieldId(), field.name() + "_" + 
field.fieldId(), Transforms.alwaysNull());

Review comment:
       I really just wanted to keep it consistent, just make all null 
transforms have this little extra bit of naming. I was hoping I could make that 
regardless of the operations that were performed the name of the transform 
would end up being the same.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to