Skip to content

Commit 8f85593

Browse files
committed
feat[array]: dynamic expr
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 6eaeba8 commit 8f85593

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

vortex-vector/src/decimal/generic.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ impl<D: NativeDecimalType> DVector<D> {
7373
}
7474

7575
// We assert that each element is within bounds for the given precision/scale.
76-
// if !elements.iter().all(|e| ps.is_valid(*e)) {
77-
// vortex_bail!(
78-
// "One or more elements are out of bounds for precision {} and scale {}",
79-
// ps.precision(),
80-
// ps.scale()
81-
// );
82-
// }
76+
if !elements.iter().all(|e| ps.is_valid(*e)) {
77+
vortex_bail!(
78+
"One or more elements are out of bounds for precision {} and scale {}",
79+
ps.precision(),
80+
ps.scale()
81+
);
82+
}
8383

8484
Ok(Self {
8585
ps,

0 commit comments

Comments
 (0)