DATEADD UDF
Description
This UDF is used as a template for all cases when there is an addition between a DATE
or TIMESTAMP
type and FLOAT
type.
Custom UDF overloads
DATEADD_UDF(date, float)
Parameters
FIRST_PARAM: The first
DATE
of the operation.SECOND_PARAM: The
FLOAT
to be added.
DATEADD_UDF(float, date)
Parameters
FIRST_PARAM: The
FLOAT
to be added.SECOND_PARAM: The
DATE
of the operation.
DATEADD_UDF(timestamp, float)
Parameters
FIRST_PARAM: The first
TIMESTAMP
of the operation.SECOND_PARAM: The
FLOAT
to be added.
DATEADD_UDF(float, timestamp)
Parameters
FIRST_PARAM: The
FLOAT
of the operation.SECOND_PARAM: The
TIMESTAMP
of the operation.
Usage example
Oracle
Snowflake
Known Issues
1. Differences in time precision
When there are operations between Dates or Timestamps and Floats, the time may differ from Oracle's. There is an action item to fix this issue.
Related EWIs
No EWIs related.
Last updated