samredai commented on code in PR #4619:
URL: https://github.com/apache/iceberg/pull/4619#discussion_r857183547


##########
python/src/iceberg/expressions/base.py:
##########
@@ -147,3 +148,61 @@ def get(self, container: StructProtocol) -> Any:
             Any: The value at position `self.position` in the container
         """
         return container.get(self.position)
+
+
+class BoundReference:
+    """A reference bound to a field with an accessor for acquiring the field's 
value

Review Comment:
   I updated this description to "A reference bound to a field in a schema" but 
I'm not sure I fully understand what you mean by:
   > This doesn't necessarily need to use an accessor to work.
   
   Can you describe how this would be used without an accessor? I know this 
class won't be exposed at the top level API but I'd imagine a developer working 
in this area of the code would find a description of the relationship to 
accessors as helpful.



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