Skip to content

Commit 085930e

Browse files
committed
Remove selection mask
Signed-off-by: Nicholas Gates <[email protected]>
1 parent 657e1f9 commit 085930e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vortex-array/src/encoding.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use vortex_error::{VortexExpect, VortexResult, vortex_bail, vortex_err};
1414

1515
use crate::serde::ArrayChildren;
1616
use crate::vtable::{EncodeVTable, VTable};
17-
use crate::{Array, ArrayRef, Canonical};
17+
use crate::{Array, ArrayRef, Canonical, IntoArray};
1818

1919
/// EncodingId is a globally unique name of the array's encoding.
2020
pub type EncodingId = ArcRef<str>;
@@ -106,7 +106,7 @@ impl<V: VTable> Encoding for EncodingAdapter<V> {
106106
array.buffers().as_slice(),
107107
children,
108108
)
109-
.map(|a| a.to_array())
109+
.map(|a| a.into_array())
110110
}
111111

112112
fn encode(
@@ -148,7 +148,7 @@ impl<V: VTable> Encoding for EncodingAdapter<V> {
148148
);
149149
}
150150

151-
Ok(Some(array.to_array()))
151+
Ok(Some(array.into_array()))
152152
}
153153
}
154154

0 commit comments

Comments
 (0)