为什么Hive不支持下划线?

时间:2017-07-14 11:20:33

标签: hive hiveql

为什么这个sql可以执行成功:

select
a.detail as detail ,
b.detail as parent_detail
from
    db.info as a
   join db.info as b on a.parent_id=b.id;

但是跟着sql执行失败:

select
info.detail as detail ,
parent_info.detail as parent_detail 
from
    db.info as info
   join db.info as parent_info on info.parent_id=parent_info.id;

那么,为什么hive不支持别名中的下划线? (hive版本是1.1.0)

0 个答案:

没有答案