Skip to content

Commit 157ea2b

Browse files
committed
Deprecate scalar_at for execute_scalar
Signed-off-by: Nicholas Gates <nick@nickgates.com>
1 parent b420333 commit 157ea2b

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

  • vortex-array/src/arrays/dict/compute

vortex-array/src/arrays/dict/compute/cast.rs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,20 +167,9 @@ mod tests {
167167
&DType::Primitive(PType::I32, Nullability::NonNullable)
168168
);
169169

170-
// Check that both codes and values are NonNullable again
171-
let back_dict = back_to_non_nullable.as_::<Dict>();
172-
assert_eq!(
173-
back_dict.codes().dtype().nullability(),
174-
Nullability::NonNullable
175-
);
176-
assert_eq!(
177-
back_dict.values().dtype().nullability(),
178-
Nullability::NonNullable
179-
);
180-
181170
// Verify values are unchanged
182171
let original_values = dict.as_array().to_primitive();
183-
let final_values = back_dict.array().to_primitive();
172+
let final_values = back_to_non_nullable.to_primitive();
184173
assert_arrays_eq!(original_values, final_values);
185174
}
186175

0 commit comments

Comments
 (0)