rdblue commented on code in PR #16936:
URL: https://github.com/apache/iceberg/pull/16936#discussion_r4021107868
##########
core/src/main/java/org/apache/iceberg/TrackedFileAdapters.java:
##########
@@ -572,4 +1134,48 @@ private static PartitionSpec resolveSpec(
throw new IllegalArgumentException(
"Cannot find unpartitioned spec in specs: " + specsById.keySet());
}
+
+ /**
+ * Projects the file's per-spec partition tuple into the target partition
schema by field ID.
+ * Fields present in the target but not in the file's spec land as null.
+ */
+ private static StructProjection projectPartition(
Review Comment:
Probably not needed, but @anoopj is building something similar for
`TrackedFile`.
--
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]