You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/08/22 16:45:02 UTC

[GitHub] [iceberg] danielcweeks commented on a diff in pull request #5602: Core: Add expression JSON parser

danielcweeks commented on code in PR #5602:
URL: https://github.com/apache/iceberg/pull/5602#discussion_r951659676


##########
api/src/main/java/org/apache/iceberg/expressions/BoundReference.java:
##########
@@ -26,10 +26,12 @@
 public class BoundReference<T> implements BoundTerm<T>, Reference<T> {
   private final Types.NestedField field;
   private final Accessor<StructLike> accessor;
+  private final String name;
 
-  BoundReference(Types.NestedField field, Accessor<StructLike> accessor) {
+  BoundReference(Types.NestedField field, Accessor<StructLike> accessor, String name) {
     this.field = field;
     this.accessor = accessor;
+    this.name = name;

Review Comment:
   It might be good to add a comment to distinguish this name from the field name.



-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org