Supported in: Batch, Streaming
Add value to timestamp in specified unit.
Expression categories: Datetime
Output type: Timestamp
Argument values:
DAYS
Output: 2022-02-03T00:00:00Z
Argument values:
HOURS
Output: 2022-02-01T02:00:00Z
Argument values:
MILLISECONDS
Output: 2022-02-01T00:00:00.002Z
Argument values:
MINUTES
Output: 2022-02-01T00:02:00Z
Argument values:
MONTHS
Output: 2022-04-01T00:00:00Z
Argument values:
QUARTERS
Output: 2022-08-01T00:00:00Z
Argument values:
SECONDS
Output: 2022-02-01T00:00:02Z
Argument values:
YEARS
Output: 2024-02-01T00:00:00Z
Argument values:
date
YEARS
value
date | value | Output |
---|---|---|
2022-02-01T00:00:00Z | null | null |
null | 2 | null |
null | null | null |