Signature
date_add(string date, int noOfDays)
hive> SELECT date_add('2021-05-12', 5);
OK
_c0
2021-05-17
Time taken: 0.127 seconds, Fetched: 1 row(s)
hive> ;
hive> SELECT date_add('2021-05-12', -5);
OK
_c0
2021-05-07
Time taken: 0.044 seconds, Fetched: 1 row(s)
No comments:
Post a Comment