【发布时间】:2022-01-08 07:16:26
【问题描述】:
我有一个将 HQL 查询传入数据库的 python 函数,我需要使用 hive 来查找 (currentYear)-01-01
def foo():
return " SELECT variables \
FROM bar \
WHERE \
fizz = buzz \
AND to_date(somedate) > date_format(current_date,'yyyy-01-01') "
最后一行当前不工作
【问题讨论】: