now

Description

Returns the current time for which the query is executed as timestamp. This function is not accelerable.

Return type

timestamp

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

now()

Examples

make_col is_current:now() > timestamp - 1h

Create a column ‘is_current’ with value true if the current query executed time is greater than timestamp - 1h and false otherwise.