From 01ec474eab473c0f16a1a4bd6e7e98a1db468568 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Fri, 10 Jan 2025 09:24:15 -0500 Subject: [PATCH] fmt --- datafusion/physical-optimizer/src/limit_pushdown.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/datafusion/physical-optimizer/src/limit_pushdown.rs b/datafusion/physical-optimizer/src/limit_pushdown.rs index 4527fbf20f18..7a44b2e90dde 100644 --- a/datafusion/physical-optimizer/src/limit_pushdown.rs +++ b/datafusion/physical-optimizer/src/limit_pushdown.rs @@ -471,8 +471,7 @@ mod test { } #[test] - fn pushes_global_limit_exec_through_projection_exec() -> Result<()> - { + fn pushes_global_limit_exec_through_projection_exec() -> Result<()> { let schema = create_schema(); let streaming_table = streaming_table_exec(Arc::clone(&schema))?; let filter = filter_exec(Arc::clone(&schema), streaming_table)?; @@ -724,9 +723,7 @@ mod test { ])) } - fn streaming_table_exec( - schema: SchemaRef, - ) -> Result> { + fn streaming_table_exec(schema: SchemaRef) -> Result> { Ok(Arc::new(StreamingTableExec::try_new( Arc::clone(&schema), vec![Arc::new(DummyStreamPartition { schema }) as _],