Skip to content

Commit 4beb1d4

Browse files
committed
fix
Signed-off-by: Mikhail Kot <[email protected]>
1 parent c7bff90 commit 4beb1d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vortex-duckdb/src/convert/vector.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ pub fn flat_vector_to_vortex(vector: &VectorRef, len: usize) -> VortexResult<Arr
305305
let (precision, scale) = logical_type.as_decimal();
306306
let decimal_dtype = DecimalDType::try_new(precision, scale.try_into()?)?;
307307
let mask = vector.validity_ref(len).execute_mask();
308-
let validity = Validity::from_mask(mask.clone(), Nullability::Nullable);
308+
let validity = Validity::from_mask(mask, Nullability::Nullable);
309309

310310
// https://duckdb.org/docs/stable/sql/data_types/numeric.html#fixed-point-decimals
311311
match precision_to_duckdb_storage_size(&decimal_dtype)? {

0 commit comments

Comments
 (0)