jim-ngoo commented on issue #1934:
URL: 
https://github.com/apache/iceberg-python/issues/1934#issuecomment-2846711694

   > Type mapping is notoriously difficult. Since we already support 
bidirectional interchange between pyarrow schema and iceberg schema, i think it 
would be easier if we can map pydantic schema to pyarrow schema and then go 
from pyarrow schema to iceberg schema. wdyt?
   
   can we just leverage that `pydantic-to-pyarrow` lib and apply the conversion 
here for pydantic case: 
https://github.com/apache/iceberg-python/blob/main/pyiceberg/catalog/__init__.py#L742-L758


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