fallintoplace opened a new pull request, #1474: URL: https://github.com/apache/iceberg-go/pull/1474
The CLI sort-order parser currently ignores each requested column name and assigns source IDs from the argument position. That silently creates incorrect sort orders for schemas whose field IDs are not 1, 2, 3, and so on. This passes the table schema into sort-order parsing, resolves top-level names and nested paths to their Iceberg field IDs, rejects unknown or duplicate fields and malformed components, and checks the resulting sort order against the schema before table creation. Tests use non-sequential field IDs and assert the exact source IDs emitted in a REST create-table request. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
