Skip to main content

rewrite_expr_mut

Function rewrite_expr_mut 

Source
pub fn rewrite_expr_mut(expr: &mut Expr)
Expand description

Rewrite INTERVAL arithmetic in an expression tree, in place.

Converts patterns like col ± INTERVAL 'N' UNIT to col ± <millis> so that DataFusion can evaluate the expression when the column is Int64.