Skip to main content

Module proctime_udf

Module proctime_udf 

Source
Expand description

Processing-time UDF for PROCTIME() support Processing-time UDF for DataFusion integration

Provides a proctime() scalar function that returns the current wall-clock timestamp. Used to declare processing-time watermarks:

CREATE SOURCE events (
    data VARCHAR,
    ts TIMESTAMP,
    WATERMARK FOR ts AS PROCTIME()
);

Structsยง

ProcTimeUdf
Scalar UDF that returns the current processing time.