hive:函数:date_add函数获取后一天日期

date_add函数获取后一天日期:

Time taken: 0.074 seconds, Fetched: 1 row(s)
hive (default)> select date_add(from_unixtime(unix_timestamp(),'yyyy-MM-dd'),1);
unix_timestamp(void) is deprecated. Use current_timestamp instead.
OK
_c0
2019-05-31
Time taken: 0.097 seconds, Fetched: 1 row(s)
hive (default)> 

猜你喜欢

转载自blog.csdn.net/weixin_38750084/article/details/93380460
今日推荐