@@ -94,19 +94,15 @@ pub(crate) struct FFI_SessionRef {
9494 schema : WrappedSchema ,
9595 ) -> FFIResult < FFI_PhysicalExpr > ,
9696
97- scalar_functions :
98- unsafe extern "C" fn ( & Self ) -> SVec < ( SString , FFI_ScalarUDF ) > ,
97+ scalar_functions : unsafe extern "C" fn ( & Self ) -> SVec < ( SString , FFI_ScalarUDF ) > ,
9998
100- aggregate_functions :
101- unsafe extern "C" fn ( & Self ) -> SVec < ( SString , FFI_AggregateUDF ) > ,
99+ aggregate_functions : unsafe extern "C" fn ( & Self ) -> SVec < ( SString , FFI_AggregateUDF ) > ,
102100
103- window_functions :
104- unsafe extern "C" fn ( & Self ) -> SVec < ( SString , FFI_WindowUDF ) > ,
101+ window_functions : unsafe extern "C" fn ( & Self ) -> SVec < ( SString , FFI_WindowUDF ) > ,
105102
106103 table_options : unsafe extern "C" fn ( & Self ) -> SVec < ( SString , SString ) > ,
107104
108- default_table_options :
109- unsafe extern "C" fn ( & Self ) -> SVec < ( SString , SString ) > ,
105+ default_table_options : unsafe extern "C" fn ( & Self ) -> SVec < ( SString , SString ) > ,
110106
111107 task_ctx : unsafe extern "C" fn ( & Self ) -> FFI_TaskContext ,
112108
@@ -245,9 +241,7 @@ unsafe extern "C" fn window_functions_fn_wrapper(
245241 . collect ( )
246242}
247243
248- fn table_options_to_rhash (
249- mut options : TableOptions ,
250- ) -> SVec < ( SString , SString ) > {
244+ fn table_options_to_rhash ( mut options : TableOptions ) -> SVec < ( SString , SString ) > {
251245 // It is important that we mutate options here and set current format
252246 // to None so that when we call `entries()` we get ALL format entries.
253247 // We will pass current_format as a special case and strip it on the
@@ -466,9 +460,7 @@ impl Clone for FFI_SessionRef {
466460 }
467461}
468462
469- fn table_options_from_rhashmap (
470- options : SVec < ( SString , SString ) > ,
471- ) -> TableOptions {
463+ fn table_options_from_rhashmap ( options : SVec < ( SString , SString ) > ) -> TableOptions {
472464 let mut options: HashMap < String , String > = options
473465 . into_iter ( )
474466 . map ( |kv_pair| ( kv_pair. 0 . to_string ( ) , kv_pair. 1 . to_string ( ) ) )
0 commit comments