Skip to content

Commit

Permalink
move
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-isaacs committed Dec 18, 2024
1 parent ba1ddf9 commit 38b79d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vortex-array/src/data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl ArrayData {
pub fn named_children(&self) -> Vec<(String, ArrayData)> {
let mut collector = NamedChildrenCollector::default();
self.encoding()
.accept(&ArrayData::from(self.clone()), &mut collector)
.accept(&self.clone(), &mut collector)
.vortex_expect("Failed to get children");
collector.children()
}
Expand Down
4 changes: 2 additions & 2 deletions vortex-array/src/data/owned.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ use std::sync::{Arc, RwLock};

use vortex_buffer::Buffer;
use vortex_dtype::DType;
use vortex_error::{vortex_bail, vortex_panic, VortexExpect, VortexResult};
use vortex_error::{vortex_bail, vortex_panic, VortexResult};
use vortex_scalar::Scalar;

use crate::encoding::EncodingRef;
use crate::stats::{Stat, Statistics, StatsSet};
use crate::{ArrayDType, ArrayData, ArrayMetadata, NamedChildrenCollector};
use crate::{ArrayDType, ArrayData, ArrayMetadata};

/// Owned [`ArrayData`] with serialized metadata, backed by heap-allocated memory.
#[derive(Clone, Debug)]
Expand Down
2 changes: 1 addition & 1 deletion vortex-array/src/data/viewed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::encoding::opaque::OpaqueEncoding;
use crate::encoding::EncodingRef;
use crate::stats::{Stat, Statistics, StatsSet};
use crate::{
flatbuffers as fb, ArrayData, ArrayMetadata, ChildrenCollector, Context, NamedChildrenCollector,
flatbuffers as fb, ArrayData, ArrayMetadata, ChildrenCollector, Context,
};

/// Zero-copy view over flatbuffer-encoded array data, created without eager serialization.
Expand Down

0 comments on commit 38b79d2

Please sign in to comment.