rahil-c commented on code in PR #11180: URL: https://github.com/apache/iceberg/pull/11180#discussion_r1797262570
########## core/src/main/java/org/apache/iceberg/PartitionData.java: ########## @@ -72,6 +72,17 @@ public PartitionData(Types.StructType partitionType) { this.stringSchema = schema.toString(); } + public PartitionData() { + // This construtor has niche case of being used at time for rest serial/deserilization + // where we do not have the partition spec and can not populate these values. + // these values will be refreshed before returning to client engine + this.partitionType = null; + this.size = 0; + this.data = new Object[size]; + this.schema = null; + this.stringSchema = null; + } Review Comment: Will fix this in next revision. -- 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