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
Describe the bug
when an array contains a null buffer built from a resized BooleanBufferBuilder, and is later used in binary operators. the result is sometimes incorrect.
Expected behavior
the above code should print null_buffer.count_set_bits=0 and result.null_count=13 since arg1 has 13 nulls. however it prints null_buffer.count_set_bits=3 and result.null_count=10.
Additional context
we met this issue when doing some arithmetic operations with datafusion on a parquet file. the parquet crate does resize the null buffer on last records of a row group and unexpectedly produces several incorrect records.
The text was updated successfully, but these errors were encountered:
Describe the bug
when an array contains a null buffer built from a resized BooleanBufferBuilder, and is later used in binary operators. the result is sometimes incorrect.
To Reproduce
Expected behavior
the above code should print
null_buffer.count_set_bits=0
andresult.null_count=13
since arg1 has 13 nulls. however it printsnull_buffer.count_set_bits=3
andresult.null_count=10
.Additional context
we met this issue when doing some arithmetic operations with datafusion on a parquet file. the parquet crate does resize the null buffer on last records of a row group and unexpectedly produces several incorrect records.
The text was updated successfully, but these errors were encountered: