@@ -13,7 +13,6 @@ use std::fmt::Formatter;
1313
1414use vortex_error:: VortexExpect ;
1515use vortex_error:: VortexResult ;
16- use vortex_error:: vortex_bail;
1716
1817use self :: bool:: check_bool_sorted;
1918use self :: decimal:: check_decimal_sorted;
@@ -231,27 +230,8 @@ impl AggregateFnVTable for IsSorted {
231230 AggregateFnId :: new_ref ( "vortex.is_sorted" )
232231 }
233232
234- fn serialize ( & self , options : & Self :: Options ) -> VortexResult < Option < Vec < u8 > > > {
235- Ok ( Some ( vec ! [ u8 :: from( options. strict) ] ) )
236- }
237-
238- fn deserialize (
239- & self ,
240- metadata : & [ u8 ] ,
241- _session : & vortex_session:: VortexSession ,
242- ) -> VortexResult < Self :: Options > {
243- let & [ strict_byte] = metadata else {
244- vortex_bail ! (
245- "IsSorted: expected 1 byte of metadata, got {}" ,
246- metadata. len( )
247- ) ;
248- } ;
249- let strict = match strict_byte {
250- 0 => false ,
251- 1 => true ,
252- _ => vortex_bail ! ( "IsSorted: expected 0 or 1 for strict, got {}" , strict_byte) ,
253- } ;
254- Ok ( IsSortedOptions { strict } )
233+ fn serialize ( & self , _options : & Self :: Options ) -> VortexResult < Option < Vec < u8 > > > {
234+ unimplemented ! ( "IsSorted is not yet serializable" ) ;
255235 }
256236
257237 fn return_dtype ( & self , _options : & Self :: Options , input_dtype : & DType ) -> Option < DType > {
0 commit comments