Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add test case
  • Loading branch information
haohuaijin committed Oct 3, 2026
commit 5e270ae91e252b8705ba5d346d94bed3711debcb
5 changes: 5 additions & 0 deletions datafusion/physical-expr/src/expressions/negative.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ mod tests {
Interval::make(Some(i16::MIN + 1), Some(1_i16)).unwrap(),
Interval::make(Some(i32::MIN + 1), Some(1_i32)).unwrap(),
Interval::make(Some(i64::MIN + 1), Some(1_i64)).unwrap(),
// An unbounded upper bound cannot introduce MIN when the lower bound excludes it.
Interval::make(Some(i8::MIN + 1), None).unwrap(),
Interval::make(Some(i16::MIN + 1), None).unwrap(),
Interval::make(Some(i32::MIN + 1), None).unwrap(),
Interval::make(Some(i64::MIN + 1), None).unwrap(),
Interval::make(Some(-2_f32), Some(1_f32)).unwrap(),
Interval::make(Some(-2_f64), Some(1_f64)).unwrap(),
Interval::make_unbounded(&Float32).unwrap(),
Expand Down
Loading