@@ -167,7 +167,7 @@ mod tests {
167167 use crate :: Scalar ;
168168 use crate :: ScalarValue ;
169169
170- #[ derive( Debug , Clone , Default ) ]
170+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
171171 struct TestExt ;
172172 impl ExtDTypeVTable for TestExt {
173173 type Metadata = EmptyMetadata ;
@@ -176,7 +176,11 @@ mod tests {
176176 ExtID :: new_ref ( "test_ext" )
177177 }
178178
179- fn validate ( & self , _options : & Self :: Metadata , _storage_dtype : & DType ) -> VortexResult < ( ) > {
179+ fn validate_dtype (
180+ & self ,
181+ _options : & Self :: Metadata ,
182+ _storage_dtype : & DType ,
183+ ) -> VortexResult < ( ) > {
180184 Ok ( ( ) )
181185 }
182186 }
@@ -234,7 +238,7 @@ mod tests {
234238
235239 #[ test]
236240 fn test_ext_scalar_partial_ord_different_types ( ) {
237- #[ derive( Clone , Debug , Default ) ]
241+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
238242 struct TestExt2 ;
239243 impl ExtDTypeVTable for TestExt2 {
240244 type Metadata = EmptyMetadata ;
@@ -243,7 +247,7 @@ mod tests {
243247 ExtID :: new_ref ( "test_ext_2" )
244248 }
245249
246- fn validate (
250+ fn validate_dtype (
247251 & self ,
248252 _options : & Self :: Metadata ,
249253 _storage_dtype : & DType ,
@@ -413,7 +417,7 @@ mod tests {
413417
414418 #[ test]
415419 fn test_ext_scalar_with_metadata ( ) {
416- #[ derive( Clone , Debug , Default ) ]
420+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
417421 struct TestExtMetadata ;
418422 impl ExtDTypeVTable for TestExtMetadata {
419423 type Metadata = usize ;
@@ -422,7 +426,7 @@ mod tests {
422426 ExtID :: new_ref ( "test_ext_metadata" )
423427 }
424428
425- fn validate (
429+ fn validate_dtype (
426430 & self ,
427431 _options : & Self :: Metadata ,
428432 _storage_dtype : & DType ,
0 commit comments