rip-nsk opened a new issue, #47995:
URL: https://github.com/apache/arrow/issues/47995

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   TypedStatistics::Megre function disregards column chunks when the minimum 
value is an empty string (represented as {null, 0}) due to the following code:
   ```c++
   optional<std::pair<ByteArray, ByteArray>> CleanStatistic(
       std::pair<ByteArray, ByteArray> min_max, LogicalType::Type::type) {
     if (min_max.first.ptr == nullptr || min_max.second.ptr == nullptr) {
       return ::std::nullopt;
     }
     return min_max;
   }
   ```
   so both minimum and maximum values will be lost.
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to