gayatrikate04 commented on code in PR #1533:
URL: https://github.com/apache/iceberg-python/pull/1533#discussion_r1925651836


##########
pyiceberg/table/inspect.py:
##########
@@ -57,7 +87,21 @@ def _get_snapshot(self, snapshot_id: Optional[int] = None) 
-> Snapshot:
             raise ValueError("Cannot get a snapshot as the table does not have 
any.")
 
     def snapshots(self) -> "pa.Table":
-        import pyarrow as pa

Review Comment:
   I understand. I will keep the import for pyarrow as suggested, in case the 
function is used directly.



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