stevenzwu commented on code in PR #13251:
URL: https://github.com/apache/iceberg/pull/13251#discussion_r2152748231


##########
api/src/main/java/org/apache/iceberg/util/StructProjection.java:
##########
@@ -216,4 +216,9 @@ public <T> T get(int pos, Class<T> javaClass) {
   public <T> void set(int pos, T value) {
     throw new UnsupportedOperationException("Cannot set fields in a 
TypeProjection");
   }
+
+  @Override
+  public String toString() {
+    return struct.toString();

Review Comment:
   I would disagree that `StructProjection#toString` print the wrapped full 
struct. If we really want to implement `toString`, it should only print the 
projected fields.



-- 
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

Reply via email to