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

   hm, good point. 
   
   
https://github.com/apache/iceberg-python/blob/f195dadeb85b1c59f2cd85f80802344cc0842386/pyiceberg/table/metadata.py#L500
   
   would be something like
   ```
   class FormatVersion(int, Enum):
       V1 = 1
       V2 = 2
       V3 = 3
   
   class MyModel(BaseModel):
       format_version: FormatVersion = Field(alias="format-version", 
default=FormatVersion.V2)
   ```
   
   
   
   @Fokko WDYT? Do you think this is something we'd want to do? 


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