`

hive 获取当前yyyy/MM/dd HH:mm:ss

    博客分类:
  • hive
 
阅读更多

 

 

以前是写自定义函数, 现在用这种方式可以实现:

 

from_unixtime(unix_timestamp(), 'yyyy/MM/dd HH:mm:ss')

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics