We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 901c1e1 commit 3709c20Copy full SHA for 3709c20
1 file changed
encodings/fastlanes/src/rle/array/rle_decompress.rs
@@ -4,7 +4,6 @@
4
use fastlanes::RLE;
5
use num_traits::AsPrimitive;
6
use num_traits::NumCast;
7
-use vortex_array::Canonical;
8
use vortex_array::DynArray;
9
use vortex_array::ExecutionCtx;
10
use vortex_array::IntoArray;
@@ -26,10 +25,6 @@ use crate::RLEArray;
26
25
reason = "complexity is from nested match_each_* macros"
27
)]
28
pub fn rle_decompress(array: &RLEArray, ctx: &mut ExecutionCtx) -> VortexResult<PrimitiveArray> {
29
- if array.all_invalid()? {
30
- return Ok(Canonical::empty(array.dtype()).into_primitive());
31
- }
32
-
33
match_each_native_ptype!(array.values().dtype().as_ptype(), |V| {
34
match_each_unsigned_integer_ptype!(array.values_idx_offsets().dtype().as_ptype(), |O| {
35
// RLE indices are always u16 (or u8 if downcasted).
0 commit comments