在 PostgreSQL 中我可以使用:
to_char(current_date - 14, 'YYYYMMDD')
然而,这不是 Hive 中可接受的语法,我找不到该日期格式的正确函数。
有人可以帮忙吗?
sql string datetime hive hiveql
datetime ×1
hive ×1
hiveql ×1
sql ×1
string ×1