Skip to content

Commit ec36743

Browse files
Update datafusion/functions/src/math/floor.rs
Co-authored-by: Oleks V <[email protected]>
1 parent fcad1d6 commit ec36743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

datafusion/functions/src/math/floor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ impl ScalarUDFImpl for FloorFunc {
230230

231231
// Compute lower bound (N) and upper bound (N + 1) using helper functions
232232
let Some((lower, upper)) = (match lit_value {
233+
// Decimal types should be supported and tracked in
234+
// https://github.com/apache/datafusion/issues/20080
233235
// Floating-point types
234236
ScalarValue::Float64(Some(n)) => float_preimage_bounds(*n).map(|(lo, hi)| {
235237
(

0 commit comments

Comments
 (0)