row_end_time

Aliases: row_endtime (deprecated).

row_end_time() -> timestamp

Returns the value of the "Valid To" column, or null if the verb input dataset has no "Valid To" column.

Domain

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

Categories

Examples

make_col time_taken:if_null(row_end_time() - row_start_time(), 0s)

Create a column time_taken that is the duration of the state within the row.