manuzhang opened a new pull request, #1134: URL: https://github.com/apache/iceberg-cpp/pull/1134
Metadata tables need one consistent partition struct across evolved specs. Add shared helpers to build that union, project values by field ID, preserve nulls, promote primitive values, and append partition/literal values to Arrow builders. Use the newest field names, retain compatible non-void transforms, and reject conflicting definitions. Focused tests cover schema evolution and promotion, conflicting field IDs, value counts, and Arrow serialization with nulls. Extracted from #1120. Builds directly on main and has no dependency on the scan/task or live-file helpers. Validation: 58 metadata tests and C++20 compatibility passed in a standalone static Debug build. Pre-commit and clang-tidy 22.1.8 passed. Partition tests also passed in the combined shared-library build. The full split composition passed 144 tests with one expected format-version skip. -- 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]
