Fokko commented on code in PR #532: URL: https://github.com/apache/iceberg-python/pull/532#discussion_r1529234952
########## pyiceberg/schema.py: ########## @@ -180,6 +182,12 @@ def as_struct(self) -> StructType: """Return the schema as a struct.""" return StructType(*self.fields) + def as_arrow(self) -> "pa.Schema": + from pyiceberg.io.pyarrow import schema_to_pyarrow + + """Return the schema as an Arrow schema.""" Review Comment: ```suggestion """Return the schema as an Arrow schema.""" from pyiceberg.io.pyarrow import schema_to_pyarrow ``` -- 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