syun64 commented on code in PR #473:
URL: https://github.com/apache/iceberg-python/pull/473#discussion_r1511334163
##########
pyiceberg/serializers.py:
##########
@@ -127,6 +127,6 @@ def table_metadata(metadata: TableMetadata, output_file:
OutputFile, overwrite:
overwrite (bool): Where to overwrite the file if it already
exists. Defaults to `False`.
"""
with output_file.create(overwrite=overwrite) as output_stream:
- json_bytes = metadata.model_dump_json().encode(UTF8)
+ json_bytes =
metadata.model_dump_json(exclude_none=False).encode(UTF8)
Review Comment:
I would prefer that. Let me put in this update
--
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]