我的表格包括 3 个日期列, dateA , dateB 和 dateC 我需要什么:
JOIN ON dateA between dateB and dateC
JOIN 在 Teradata 中运行良好,但在 Hive 中运行时出现错误。
select *
from
table A
left join table B
on A.col1 = B.col1
and A.dateA between B.dateB and B.dateC
错误:
JOIN dateB 中遇到左右别名
我真的很感激这方面的一些帮助!