kevinjqliu commented on issue #864:
URL: https://github.com/apache/iceberg-python/issues/864#issuecomment-2241735503

   Also, this is what `_empty_table_metadata` creates
   
   ```
   from pyiceberg.table.metadata import TableMetadataV1
   from pyiceberg.schema import Schema
   TableMetadataV1(location="", last_column_id=-1, schema=Schema()) 
   
   TableMetadataV1(
       location='',
       table_uuid=UUID('262bafa3-eccd-46e3-9250-e4ea753c338c'),
       last_updated_ms=1721585218373,
       last_column_id=-1,
       schemas=[Schema(schema_id=0,identifier_field_ids=[])],
       current_schema_id=0,
       partition_specs=[PartitionSpec(spec_id=0)],
       default_spec_id=0,
       last_partition_id=999,
       properties={},
       current_snapshot_id=None,
       snapshots=[],
       snapshot_log=[],
       metadata_log=[],
       sort_orders=[SortOrder(order_id=0)],
       default_sort_order_id=0,
       refs={},
       format_version=1,
       schema_=Schema(schema_id=0,identifier_field_ids=[]),
       partition_spec=PartitionSpec(spec_id=0)
   )
   ```
   
   Interestingly, it's initialized with `schemas`, `partition_specs`, and 
`sort_orders`. 


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