Version: v2.5
TimeFunctions
Type
transform
Fields
Name | Title | Description |
---|---|---|
timeStampCol | TimeStamp Column Name | input column name |
timeFunctions | Time Functions | Time Functions Name |
Input
Date | Temp |
---|---|
DateType | IntegerType |
1981-01-01 | 20.7 |
1981-01-02 | 17.9 |
1981-01-03 | 18.8 |
1981-01-04 | 14.6 |
1981-01-05 | 15.8 |
Parameters
Name | Value |
---|---|
TimeStamp Column Name | date_string |
Time Functions | year, month, dayofmonth, dayofweek, dayofyear, weekofyear, season |
Output
Date | Temp | date_year | date_month | date_dayofmonth | date_dayofweek | date_dayofyear | date_weekofyear | date_season |
---|---|---|---|---|---|---|---|---|
1981-01-01 | 20.7 | 1981 | 1 | 1 | 5 | 1 | 1 | Winter |
1981-01-02 | 17.9 | 1981 | 1 | 2 | 6 | 2 | 1 | Winter |
1981-01-03 | 18.8 | 1981 | 1 | 3 | 7 | 3 | 1 | Winter |
1981-01-04 | 14.6 | 1981 | 1 | 4 | 1 | 4 | 1 | Winter |
1981-01-05 | 15.8 | 1981 | 1 | 5 | 2 | 5 | 2 | Winter |