diff --git a/datafusion/core/src/physical_plan/planner.rs b/datafusion/core/src/physical_plan/planner.rs index 757ab7205ea2..b30b8ca82d1e 100644 --- a/datafusion/core/src/physical_plan/planner.rs +++ b/datafusion/core/src/physical_plan/planner.rs @@ -711,7 +711,7 @@ impl DefaultPhysicalPlanner { // provided expressions into logical Column expressions if their results // are already provided from the input plans. Because we work with // qualified columns in logical plane, derived columns involve operators or - // functions will contain qualifers as well. This will result in logical + // functions will contain qualifiers as well. This will result in logical // columns with names like `SUM(t1.c1)`, `t1.c1 + t1.c2`, etc. // // If we run these logical columns through physical_name function, we will @@ -2281,11 +2281,7 @@ mod tests { unimplemented!("NoOpExecutionPlan::execute"); } - fn fmt_as( - &self, - t: DisplayFormatType, - f: &mut std::fmt::Formatter, - ) -> std::fmt::Result { + fn fmt_as(&self, t: DisplayFormatType, f: &mut fmt::Formatter) -> fmt::Result { match t { DisplayFormatType::Default => { write!(f, "NoOpExecutionPlan") diff --git a/datafusion/optimizer/src/projection_push_down.rs b/datafusion/optimizer/src/projection_push_down.rs index fcb60d242287..874e042e46ab 100644 --- a/datafusion/optimizer/src/projection_push_down.rs +++ b/datafusion/optimizer/src/projection_push_down.rs @@ -610,7 +610,7 @@ mod tests { } #[test] - fn redundunt_project() -> Result<()> { + fn redundant_project() -> Result<()> { let table_scan = test_table_scan()?; let plan = LogicalPlanBuilder::from(table_scan) @@ -641,7 +641,7 @@ mod tests { } #[test] - fn noncontiguous_redundunt_projection() -> Result<()> { + fn noncontinuous_redundant_projection() -> Result<()> { let table_scan = test_table_scan()?; let plan = LogicalPlanBuilder::from(table_scan) @@ -747,7 +747,7 @@ mod tests { #[test] fn join_schema_trim_using_join() -> Result<()> { - // shared join colums from using join should be pushed to both sides + // shared join columns from using join should be pushed to both sides let table_scan = test_table_scan()?;