Function datafusion_physical_expr::datetime_expressions::make_now
source · [−]pub fn make_now(
now_ts: DateTime<Utc>
) -> impl Fn(&[ColumnarValue]) -> Result<ColumnarValue>
Expand description
Create an implementation of now()
that always returns the
specified timestamp.
The semantics of now()
require it to return the same value
whenever it is called in a query. This this value is chosen during
planning time and bound into a closure that