You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "felixscherz (via GitHub)" <gi...@apache.org> on 2024/01/07 21:20:05 UTC

Re: [PR] preserve field order in `Schema.select` [iceberg-python]

felixscherz commented on PR #242:
URL: https://github.com/apache/iceberg-python/pull/242#issuecomment-1880177170

   Thank you for having a look! I hadn't thought about nested structs.
   I wonder if reordering nested structs based on the order of names in `selected_fields` is doable in a nice way and whether it would be easier to do this via explicit schema evolution.
   I also had another look at the implementation of `project_table` which is probably a better place to put this logic than `Schema`.
   I will have another look and try to come up with an implementation as part of `project_table`.


-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org