Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Sep 24, 2019
1 parent af8d298 commit 83bfa77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/datafusion/src/execution/physical_plan/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ impl PhysicalExpr for BinaryExpr {
right.data_type()
)));
}
},
}
Operator::Or => {
if left.data_type() == &DataType::Boolean {
boolean_op!(left, right, or)
Expand All @@ -318,7 +318,7 @@ impl PhysicalExpr for BinaryExpr {
right.data_type()
)));
}
},
}
_ => Err(ExecutionError::General("Unsupported operator".to_string())),
}
}
Expand Down

0 comments on commit 83bfa77

Please sign in to comment.