### Describe the enhancement requested https://github.com/apache/arrow/blob/15b74944d39656d148c8ef9b100c42427aa40712/cpp/src/arrow/compare.cc#L1312 72d20ad719021c5513620e23a0a65fb724f0e299 already fixed this ### Component(s) C++