rdblue commented on code in PR #17159:
URL: https://github.com/apache/iceberg/pull/17159#discussion_r3562170937
##########
core/src/main/java/org/apache/iceberg/ContentStats.java:
##########
@@ -35,6 +34,9 @@ interface ContentStats extends StructLike {
*/
<T> FieldStats<T> statsFor(int fieldId);
- /** The stats struct holding nested structs with their respective field
stats */
- Types.StructType statsStruct();
+ /** Container struct type containing tracked field-level stats structs. */
+ Types.StructType type();
+
+ /** Returns a copy of these {@link ContentStats}, deep-copying the contained
field stats. */
+ ContentStats copy();
Review Comment:
Needed to implement copy in `TrackedFile` correctly. We also need to follow
up with methods to project by field ID.
--
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]