Describe the bug, including details regarding any error messages, version, and platform.
Example: the "filter" function, when applied to a interval_month_data_nano input selects the primitive kernel and hits the DCHECK(false) << "Invalid values bit width"; assert.
| constint bit_width = values.type->bit_width(); |
| RETURN_NOT_OK(PreallocatePrimitiveArrayData(ctx, output_length, bit_width, |
| allocate_validity, out_arr)); |
| |
| switch (bit_width) { |
| case1: |
| PrimitiveFilterImpl<BooleanType>(values, filter, null_selection, out_arr).Exec(); |
| break; |
| case8: |
| PrimitiveFilterImpl<UInt8Type>(values, filter, null_selection, out_arr).Exec(); |
| break; |
| case16: |
| PrimitiveFilterImpl<UInt16Type>(values, filter, null_selection, out_arr).Exec(); |
| break; |
| case32: |
| PrimitiveFilterImpl<UInt32Type>(values, filter, null_selection, out_arr).Exec(); |
| break; |
| case64: |
| PrimitiveFilterImpl<UInt64Type>(values, filter, null_selection, out_arr).Exec(); |
| break; |
| default: |
| DCHECK(false) << "Invalid values bit width"; |
| break; |
| } |
| returnStatus::OK(); |
| } |
Component(s)
C++
Describe the bug, including details regarding any error messages, version, and platform.
Example: the
"filter"function, when applied to ainterval_month_data_nanoinput selects the primitive kernel and hits theDCHECK(false) << "Invalid values bit width";assert.arrow/cpp/src/arrow/compute/kernels/vector_selection_filter_internal.cc
Lines 456 to 481 in 565b957
Component(s)
C++