berkaysynnada commented on issue #8078:
URL:
https://github.com/apache/arrow-datafusion/issues/8078#issuecomment-1798813378
I have two proposals:
If we have the cases where the lower bound of a range might be inexact (or
perhaps absent) and the upper bound is exact—or vice versa—we could define the
following:
```
enum Estimation {
Exact(T),
Inexact(T),
Absent,
}
enum Precision {
Estimation,
// min - max
Range(Estimation, Estimation)
}
```
2) If we don't need to consider the exactness of bounds and a simple
interval suffices, this alternative could be used:
```
enum Precision {
Exact(T),
Inexact(T),
Absent,
Between(Interval)
}
```
--
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]