Skip to content

Commit dc03c4f

Browse files
chore[vortex-array]: remove ser/de type constraint from Metadata (#5397)
Signed-off-by: Joe Isaacs <[email protected]> --------- Signed-off-by: Joe Isaacs <[email protected]>
1 parent 23967d7 commit dc03c4f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

vortex-array/src/vtable/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ use vortex_dtype::DType;
2828
use vortex_error::VortexResult;
2929

3030
use crate::serde::ArrayChildren;
31-
use crate::{
32-
Array, DeserializeMetadata, Encoding, EncodingId, EncodingRef, IntoArray, SerializeMetadata,
33-
};
31+
use crate::{Array, Encoding, EncodingId, EncodingRef, IntoArray};
3432

3533
/// The encoding [`VTable`] encapsulates logic for an Encoding type and associated Array type.
3634
/// The logic is split across several "VTable" traits to enable easier code organization than
@@ -50,7 +48,7 @@ use crate::{
5048
pub trait VTable: 'static + Sized + Send + Sync + Debug {
5149
type Array: 'static + Send + Sync + Clone + Debug + Deref<Target = dyn Array> + IntoArray;
5250
type Encoding: 'static + Send + Sync + Clone + Deref<Target = dyn Encoding>;
53-
type Metadata: Debug + SerializeMetadata + DeserializeMetadata;
51+
type Metadata: Debug;
5452

5553
type ArrayVTable: ArrayVTable<Self>;
5654
type CanonicalVTable: CanonicalVTable<Self>;

0 commit comments

Comments
 (0)