Fokko commented on code in PR #9147:
URL: https://github.com/apache/iceberg/pull/9147#discussion_r1411615389


##########
api/src/main/java/org/apache/iceberg/expressions/NamedReference.java:
##########
@@ -38,7 +38,8 @@ public String name() {
 
   @Override
   public BoundReference<T> bind(Types.StructType struct, boolean 
caseSensitive) {
-    Schema schema = new Schema(struct.fields());
+    Schema schema = struct.asSchema();
+

Review Comment:
   nit: can you remove this unrelated space?



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