amogh-jahagirdar commented on code in PR #9176: URL: https://github.com/apache/iceberg/pull/9176#discussion_r1408826282
########## api/src/main/java/org/apache/iceberg/expressions/ValueAggregate.java: ########## @@ -67,5 +72,11 @@ public <T> T get(int pos, Class<T> javaClass) { public <T> void set(int pos, T value1) { throw new UnsupportedOperationException("Cannot update a read-only struct"); } + + public SingleValueStruct copy() { + SingleValueStruct copy = new SingleValueStruct(); + copy.setValue(value); + return copy; + } Review Comment: Not needed -- 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