Skip to content

Commit 3cb7fab

Browse files
fix[ci]: fill null overflow correct precision (#6399)
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 4fb1cf8 commit 3cb7fab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎vortex-array/src/arrays/decimal/compute/fill_null.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ mod tests {
152152
/// fill_null with a value that overflows the array's storage type should upcast the array.
153153
#[test]
154154
fn fill_null_overflow_upcasts() {
155-
let decimal_dtype = DecimalDType::new(2, 0);
155+
let decimal_dtype = DecimalDType::new(3, 0);
156156
let arr = DecimalArray::from_option_iter([None, Some(10i8), None], decimal_dtype);
157157
// i8 max is 127, so 200 doesn't fit — the array should be widened to i16.
158158
let result = fill_null(
159159
arr.as_ref(),
160160
&Scalar::decimal(
161161
DecimalValue::I128(200i128),
162-
DecimalDType::new(2, 0),
162+
DecimalDType::new(3, 0),
163163
Nullability::NonNullable,
164164
),
165165
)

0 commit comments

Comments
 (0)