我需要使用特定的旧版本 HIVE,它会阻止我在 GTE 或 LTE 条件下加入 2 个表。例如什么是等价的
select *
from table1 as t1
left join table2 as t2
on t1.id = t2.id
and (t1.date >= t2.date and t1.date <= t2.date+7) -- i can no longer do this condition
什么是替代查询?
我需要使用特定的旧版本 HIVE,它会阻止我在 GTE 或 LTE 条件下加入 2 个表。例如什么是等价的
select *
from table1 as t1
left join table2 as t2
on t1.id = t2.id
and (t1.date >= t2.date and t1.date <= t2.date+7) -- i can no longer do this condition
什么是替代查询?