You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Variant] test: add variant object tests with different sizes (apache#7896)
# Which issue does this PR close?
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax.
- Closesapache#7821 .
# Rationale for this change
- [x] VariantObject with between 2^8 and 2^16 elements (
field_id_size_minus_1 = 1, 2 byte field ids)
- [x] VariantObject with between 2^16 and 2^24 elements (
field_id_size_minus_1 = 2, 3 byte field ids)
- [x] VariantObject with between 2^24 and 2^32 elements (
field_id_size_minus_1 = 3, 4 byte field ids)
- Inserting 2^24 + 1 elements takes too long.
- [x] VariantObject with total child data length between 2^8 and 2^16
elements ( field_offset_size_minus_1 = 1, 2 byte field offsets)
- [x] VariantObject with total child data length between 2^16 and 2^24
elements ( field_offset_size_minus_1 = 2, 3 byte field offsets)
- [x] VariantObject with total child data length between 2^24 and 2^32
elements ( field_offset_size_minus_1 = 3, 4 byte field offsets)
---------
Co-authored-by: Andrew Lamb <[email protected]>
0 commit comments