Skip to content

Commit

Permalink
Update datafusion/optimizer/src/type_coercion.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
liukun4515 and alamb authored Sep 21, 2022
1 parent 67696c2 commit e3c35a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/optimizer/src/type_coercion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl ExprRewriter for TypeCoercionRewriter<'_> {
}
}

// Support the `IsTure` `IsNotTrue` `IsFalse` `IsNotFalse` type coercion.
// Support the `IsTrue` `IsNotTrue` `IsFalse` `IsNotFalse` type coercion.
// The above op will be rewrite to the binary op when creating the physical op.
fn get_casted_expr_for_bool_op(expr: &Expr, schema: &DFSchemaRef) -> Result<Expr> {
let left_type = expr.get_type(schema)?;
Expand Down

0 comments on commit e3c35a9

Please sign in to comment.