andishgar commented on issue #47101: URL: https://github.com/apache/arrow/issues/47101#issuecomment-3110786284
We need a syntax like [this](https://github.com/apache/arrow/blob/bb33493bd34dcd21d71b6b942203992e67f5ef3c/cpp/src/arrow/record_batch.cc#L571) if we want to treat `distinct_count `as a `std::variant<int64_t, double>`, and apply the same approach to the remaining statistics schema attributes as well. However, after giving it some thought, I think it's not a big deal since this is part of the internal implementation. Sorry for my previous comment — I just made things more complicated than necessary. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org