Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jan 10, 2025
1 parent 1428792 commit 01ec474
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions datafusion/physical-optimizer/src/limit_pushdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down Expand Up @@ -724,9 +723,7 @@ mod test {
]))
}

fn streaming_table_exec(
schema: SchemaRef,
) -> Result<Arc<dyn ExecutionPlan>> {
fn streaming_table_exec(schema: SchemaRef) -> Result<Arc<dyn ExecutionPlan>> {
Ok(Arc::new(StreamingTableExec::try_new(
Arc::clone(&schema),
vec![Arc::new(DummyStreamPartition { schema }) as _],
Expand Down

0 comments on commit 01ec474

Please sign in to comment.