Skip to content

Commit 39f4abe

Browse files
authored
Remove unused ArrayRef::is_arrow (#8868)
## Summary - remove the unused `ArrayRef::is_arrow` helper - keep this reviewer-requested cleanup separate from #8864 ## Testing - `cargo check -p vortex-array` - `cargo clippy --all-targets --all-features` (pre-push hook) Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
1 parent 5b688a9 commit 39f4abe

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

vortex-array/src/array/erased.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,10 @@ use crate::array::ArrayId;
3434
use crate::array::ArrayInner;
3535
use crate::array::ArraySlots;
3636
use crate::array::DynArrayData;
37-
use crate::arrays::Bool;
3837
use crate::arrays::Constant;
3938
use crate::arrays::DictArray;
4039
use crate::arrays::FilterArray;
41-
use crate::arrays::Null;
42-
use crate::arrays::Primitive;
4340
use crate::arrays::SliceArray;
44-
use crate::arrays::VarBin;
45-
use crate::arrays::VarBinView;
4641
use crate::buffer::BufferHandle;
4742
use crate::builders::ArrayBuilder;
4843
use crate::dtype::DType;
@@ -443,15 +438,6 @@ impl ArrayRef {
443438
nbytes
444439
}
445440

446-
/// Returns whether this array is an arrow encoding.
447-
pub fn is_arrow(&self) -> bool {
448-
self.is::<Null>()
449-
|| self.is::<Bool>()
450-
|| self.is::<Primitive>()
451-
|| self.is::<VarBin>()
452-
|| self.is::<VarBinView>()
453-
}
454-
455441
/// Whether the array is of a canonical encoding.
456442
pub fn is_canonical(&self) -> bool {
457443
self.is::<AnyCanonical>()

0 commit comments

Comments
 (0)