COMPUTE_EXPAND_ON_UDF
Definition
Calculates the expand-on function depending on the period type argument.
Parameters
TIME
STRING
The time used in anchor.
SEQ
NUMBER
The sequence to calculate each row.
PERIOD
TIMESTAMP
The date from the period required.
PERIODTYPE
STRING
The period type for the calculation ('BEGIN
' or 'END
')
Returns
A timestamp that represents each row of the EXPAND-ON.
Example
This UDF is used as a derived function of the EXPAND_ON_UDF.