potatochipcoconut opened a new issue, #1934: URL: https://github.com/apache/iceberg-python/issues/1934
### Feature Request / Improvement How difficult or feasible would it be to enable support for native Pydantic schemas that automatically map to the underlying pyiceberg types etc? e.g. I would like to define a schema as a regular pydantic model: ``` class Document(Schema): id: int name: str confidence: float = 0.0 ``` and have it automatically converted to: ``` Schema( NestedField( field_id=1, field_type=IntegerType(), name="id", required=True, ), NestedField( field_id=2, field_type=StringType(), name="name", required=True, ), NestedField( field_id=1, field_type=FloatType(), name="confidence", required=False, ), ) ``` New to both pyiceberg and pydantic so not sure if this is possible or where to start, thanks! -- 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.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