ConeyLiu opened a new pull request, #4572:
URL: https://github.com/apache/iceberg/pull/4572

   This backs port #3411 to 0.13.x branch.
   
   This patch fixes two problems:
   1. For V1 tables, we use a `VoidTransform` to replace the removed partition 
field. While the result type of `VoidTransform` same as the type of the field. 
For example, the result type of `Bucket(2, string_type_field)` is int, while is 
string for `VoidTransform(string_type_field)`. So we should use the original 
partition field type(int instead of string) to build the common partitioning 
type.
   2. We should use the matched `PartitionSpec` to convert the 
`PartitionFiedlSummary` to human string, not the current table spec.


-- 
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