Fokko commented on issue #281: URL: https://github.com/apache/iceberg-python/issues/281#issuecomment-1904323323
@syun64 I started on #284 today. It re-uses the `UpdateSchema` API which already sets the right IDs, and maintains IDs for the existing fields. I don't think that doesn't help us because the `UnionByName` visitor requires an Iceberg schema, instead of a PyArrow schema. My suggestion is to create a name-mapping from an Arrow table, that we can use in `pyarrow_to_schema` to correctly assign fields by name. -- 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