crepererum commented on PR #13293:
URL: https://github.com/apache/datafusion/pull/13293#issuecomment-2467807631

   Based on the discussion, another idea:
   
   ```rust
   /// ...
   ///
   /// # Note
   /// Unknown ranges are modeled as `Precision::Range{lower: None, upper: 
None}`,
   enum Precision {
     /// Estimated, but very close to the given point.
     ///
     /// This can be treated as an over-simplified normal distribution.
     PointEstimation(T),
     
     /// Value is for sure in the given open/half-open/closed range.
     ///
     /// If `lower`/`upper` are given, they are INCLUSIVE ends.
     Range {
       lower: Option<T>,
       upper: Option<T>,
     },
   }
   ```
   
   (this might need some more docs and helper methods, but I think you get the 
idea)


-- 
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...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to