pub fn make_current_date(
now_ts: DateTime<Utc>
) -> impl Fn(&[ColumnarValue]) -> Result<ColumnarValue>Expand description
Create an implementation of current_date() that always returns the
specified current date.
The semantics of current_date() require it to return the same value
wherever it appears within a single statement. This value is
chosen during planning time.