andishgar commented on issue #47101:
URL: https://github.com/apache/arrow/issues/47101#issuecomment-3098481735

   @kou Regarding this attribute and the other remaining statistics attributes 
(`max_byte_width: {exact, approximate}`, `null_count: approximate`, `row_count: 
approximate`), all of them have two forms:
   
   * `exact`, which accepts an `int64_t`, and
   * `approximate`, which accepts a `double`.
   
   Which API design do you suggest?
   
   I’m considering the following options:
   
   1. Implement a new type, such as `std::variant<int64_t, double>`.
   2. Use the existing `ValueType`.
   3. Define two separate variables: one for the exact value and one for the 
approximate value.
   
   Which approach would you recommend?
   
   


-- 
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

Reply via email to