Skip to content

Commit 7b0cec7

Browse files
committed
fix[array]: invalid arbitrary decimal scalar value
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 19a2d89 commit 7b0cec7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vortex-dtype/src/decimal/types.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@ pub trait NativeDecimalType:
6161
const MAX_SCALE: i8;
6262

6363
/// The minimum value for each precision supported by this decimal type.
64+
/// This is an array of length `MAX_PRECISION + 1` where the `i`th element is the minimum value
65+
/// for a precision of `i` (including precision 0).
6466
const MIN_BY_PRECISION: &'static [Self];
6567
/// The maximum value for each precision supported by this decimal type.
68+
/// similar to `MIN_BY_PRECISION`.
6669
const MAX_BY_PRECISION: &'static [Self];
6770

6871
/// Downcast the provided object to a type-specific instance.

0 commit comments

Comments
 (0)