weibangpeng opened a new pull request, #8245:
URL: https://github.com/apache/paimon/pull/8245
## Summary
- Added ARRAY, MAP, ROW type serialization and deserialization support to
`IcebergConversions`
- Each element/field within complex types is prefixed with a 4-byte LE
length to handle variable-length children correctly
- Null elements are represented with length -1
## Test plan
- Added `IcebergConversionsComplexTypeTest` with 17 tests covering:
- ARRAY: primitive types, strings, empty arrays, null elements, nested
arrays, decimals, timestamps
- MAP: int→string, empty maps, null values, array values
- ROW: mixed field types, null fields, nested rows, fields with array and
map
- Mixed nesting: array of rows, map with array values, row with array and
map fields
- All 67 existing IcebergConversions tests continue to pass (no regressions)
- IcebergCompatibilityTest (19 tests) continues to pass
Closes #3788
--
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]