datafusion_functions::datetime::expr_fn

Function date_bin

Source
pub fn date_bin(stride: Expr, source: Expr, origin: Expr) -> Expr
Expand description

coerces an arbitrary timestamp to the start of the nearest specified interval