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: [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]

Reply via email to