【发布时间】:2017-01-23 17:50:56
【问题描述】:
我想在多个列上保留外部连接表 A 和表 B。以下是我的代码:
select * from table_A
left outer join table_B
on (table_A.a1 = table_B.b1)
left outer join table_B
on (table_A.a2 = table_B.b2)
然后我得到了错误:
HiveServer2Error: AnalysisException: Duplicate table alias: 'table_B'
有谁知道我在这里做错了什么?谢谢!
【问题讨论】: