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
fix: add null_buffer length check to StringArrayBuilder/LargeStringArrayBuilder (#13758)
* fix: add `null_buffer` check for `LargeStringArray`
Add a safety check to ensure that the alignment of buffers cannot be
overflowed. This introduces a panic if they are not aligned through a
runtime assertion.
* fix: remove value_buffer assertion
These buffers can be misaligned and it is not problematic, it is the
`null_buffer` which we care about being of the same length.
* feat: add `null_buffer` check to `StringArray`
This is in a similar vein to `LargeStringArray`, as the code is the
same, except for `i32`'s instead of `i64`.
* feat: use `row_count` var to avoid drift
0 commit comments