hive常见错误

select id
     a.name
from stu a
left join course b
on a.id=b.id
错误:SemanticException Column xx Found in more than One Tables/Subqueries

问题:hivesql中关联时两张表如果出现相同字段则会报错

select a.id
       a.name
from stu a
left join course b
on a.id=b.id

你可能感兴趣的:(hive学习)