@@ -85,7 +85,11 @@ impl<E: TaskExecutor> DefaultEngine<E> {
8585 {
8686 // table root is the path of the table in the ObjectStore
8787 let ( object_store, _table_root) = parse_url_opts ( table_root, options) ?;
88- Ok ( Self :: new_with_metrics ( Arc :: new ( object_store) , task_executor, reporter) )
88+ Ok ( Self :: new_with_metrics (
89+ Arc :: new ( object_store) ,
90+ task_executor,
91+ reporter,
92+ ) )
8993 }
9094
9195 /// Create a new [`DefaultEngine`] instance
@@ -94,10 +98,7 @@ impl<E: TaskExecutor> DefaultEngine<E> {
9498 ///
9599 /// - `object_store`: The object store to use.
96100 /// - `task_executor`: Used to spawn async IO tasks. See [executor::TaskExecutor].
97- pub fn new (
98- object_store : Arc < DynObjectStore > ,
99- task_executor : Arc < E > ,
100- ) -> Self {
101+ pub fn new ( object_store : Arc < DynObjectStore > , task_executor : Arc < E > ) -> Self {
101102 Self :: new_with_metrics ( object_store, task_executor, None )
102103 }
103104
@@ -222,8 +223,7 @@ mod tests {
222223 let tmp = tempfile:: tempdir ( ) . unwrap ( ) ;
223224 let url = Url :: from_directory_path ( tmp. path ( ) ) . unwrap ( ) ;
224225 let object_store = Arc :: new ( LocalFileSystem :: new ( ) ) ;
225- let engine =
226- DefaultEngine :: new ( object_store, Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
226+ let engine = DefaultEngine :: new ( object_store, Arc :: new ( TokioBackgroundExecutor :: new ( ) ) ) ;
227227 test_arrow_engine ( & engine, & url) ;
228228 }
229229
0 commit comments