KnightChess commented on a change in pull request #3609:
URL: https://github.com/apache/iceberg/pull/3609#discussion_r757336415
##########
File path: api/src/main/java/org/apache/iceberg/PartitionSpec.java
##########
@@ -129,6 +129,27 @@ public StructType partitionType() {
return Types.StructType.of(structFields);
}
+ public Types.StructType maxPartitionType(Map<Integer, PartitionSpec> specs) {
+ List<Types.NestedField> structFields =
Lists.newArrayListWithExpectedSize(fields.length);
+
+ int position = 0;
+ for (int i = 0; i < specs.size(); i++) {
Review comment:
get all history spec type to resolve the type conversion problem
--
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]