rymurr commented on a change in pull request #2866:
URL: https://github.com/apache/iceberg/pull/2866#discussion_r680775623
##########
File path: python/iceberg/api/schema.py
##########
@@ -49,6 +49,8 @@ def __init__(self, *argv):
self._lowercase_name_to_id = None
self._id_to_name = None
+ self.lazy_id_to_name()
Review comment:
rather than trying to be 1:1 compliant w/ Java lets try and write
idiomatic code. I agree with @TGooch44 that we could simplify this.
--
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]