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