Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
make_now in datafusion::physical_plan::datetime_expressions - Rust
[go: Go Back, main page]

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