You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "badalprasadsingh (via GitHub)" <gi...@apache.org> on 2026/07/27 15:00:09 UTC

[I] Glue: schemasToGlueColumns reorders columns by field ID [iceberg-go]

badalprasadsingh opened a new issue, #1562:
URL: https://github.com/apache/iceberg-go/issues/1562

   ### Apache Iceberg version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   When syncing an iceberg schema to a Glue table, `schemasToGlueColumns` collects columns into a Go map and sorts them by Iceberg Field ID. This produces a physical Glue column order that differs from the table's current logical schema order whenever columns have been _reordered_, _dropped_, or _added_ out of ID sequence.
   
   We should not be tampering with the order of the columns. The current schema's logical column order should be preserved, then append the historical columns, with **no sorting**. A behavior which is similar to [Iceberg-Java](https://github.com/apache/iceberg/blob/60975ecd8d9352cfe62448dd59915b7d7bd57011/aws/src/main/java/org/apache/iceberg/aws/glue/IcebergToGlueConverter.java#L346-L366).


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


Re: [I] Glue: schemasToGlueColumns reorders columns by field ID [iceberg-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #1562: Glue: schemasToGlueColumns reorders columns by field ID
URL: https://github.com/apache/iceberg-go/issues/1562


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