Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwener committed Nov 18, 2022
1 parent 8f3e08a commit 0a66db2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions datafusion/core/src/physical_plan/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down
6 changes: 3 additions & 3 deletions datafusion/optimizer/src/projection_push_down.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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()?;

Expand Down

0 comments on commit 0a66db2

Please sign in to comment.