### Describe the enhancement requested See https://github.com/apache/arrow/pull/12865#discussion_r2409173665 and source https://github.com/apache/arrow/blob/e137a0423fc5ed16cf960e993a4f855946ff8e0c/cpp/src/arrow/util/value_parsing.h#L479 ### Component(s) C++