szehon-ho commented on code in PR #10020: URL: https://github.com/apache/iceberg/pull/10020#discussion_r1633910949
########## core/src/main/java/org/apache/iceberg/ManifestReader.java: ########## @@ -114,7 +114,7 @@ protected ManifestReader( this.spec = readPartitionSpec(file); } - this.fileSchema = new Schema(DataFile.getType(spec.partitionType()).fields()); + this.fileSchema = new Schema(DataFile.getType(spec.rawPartitionType()).fields()); Review Comment: Yea the biggest problem is, the manifests are written with the original partition id, so you need that back to read the manifest. After this point, everything is re-assigned. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org