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
wherever it appears within a single statement. This value is
chosen during planning time.