MutableArrayData::new
expects a large alignment for IntervalMonthDayNanoType
arrays
#5917
Labels
MutableArrayData::new
expects a large alignment for IntervalMonthDayNanoType
arrays
#5917
Describe the bug
MutableArrayData::new
panics if you pass anIntervalMonthDayNanoType
array not aligned to 16 bytes.IntervalMonthDayNanoType
only requires 8-byte alignment as of #5769.To Reproduce
Add this to
arrow/test/array_transform.rs
and runcargo test -p arrow test_primitive_interval_month_day_nano
:The test fails, producing this:
Expected behavior
The test should pass because we passed a properly-aligned
ArrayData
toMutableArrayData::new
.Additional context
The text was updated successfully, but these errors were encountered: