我遇到了一个名为“comment”的配置单元表。当我尝试的时候 describe comment;
我得到这个错误:
FAILED: ParseException line 1:0 cannot recognize input near 'describe' 'comment' '<EOF>' in describe statement
我也试过:
describe `comment`;
describe `db_name.comment`;
describe db_name.`comment`;
describe 'comment';
etc.
但我不断得到上面的错误或“表。。。“不存在”错误。我查看了hiveddl语言手册,但不知道如何描述该表。
2条答案
按热度按时间t3irkdon1#
应该有用。一定是别的原因造成的。我在我的机器上试过这个,效果很好。很可能,您已经用其他名称创建了表。当您显示表格时,hive显示什么?

ig9co6j12#
我使用的是hive0.12,但是这个bug已经在hive0.14中修复了。看到了吗https://issues.apache.org/jira/browse/hive-6187 详情。