Fokko commented on code in PR #5436:
URL: https://github.com/apache/iceberg/pull/5436#discussion_r938112672


##########
python/pyiceberg/serializers.py:
##########
@@ -54,7 +54,8 @@ def table_metadata(input_file: InputFile, encoding: str = 
"utf-8") -> TableMetad
             TableMetadata: A table metadata instance
 
         """
-        return FromByteStream.table_metadata(byte_stream=input_file.open(), 
encoding=encoding)

Review Comment:
   This one caught my eye this morning; it wasn't properly closed



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