Hi all,
It seems like there's a bug in MakeArrayFromScalar for
FixedSizedBinaryType.
https://github.com/apache/arrow/blob/e990d177b1f1dec962315487682f613d46be573c/cpp/src/arrow/array/util.cc#L516

```c++
  template <typename T>
  enable_if_t<is_number_type<T>::value ||
is_fixed_size_binary_type<T>::value ||
                  is_temporal_type<T>::value,
              Status>
  Visit(const T&) {
    auto value = checked_cast<const typename
TypeTraits<T>::ScalarType&>(scalar_).value;
    return FinishFixedWidth(&value, sizeof(value));
  }
```
` sizeof(value)` doesn't give the byte width of FSB type, does it?

-- 
Niranda Perera
https://niranda.dev/
@n1r44 <https://twitter.com/N1R44>

Reply via email to