和其它大部分数据库用now()函数不同,hive用unix_timestamp函数来获取时间

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

相关文章:

  • 2021-11-18
  • 2022-02-17
  • 2022-12-23
  • 2021-12-20
  • 2021-06-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-08-01
相关资源
相似解决方案