Hive 无法将数据插入配置单元表

Hive 无法将数据插入配置单元表,hive,hiveql,Hive,Hiveql,我使用以下查询创建了配置单元表: create table students (name varchar(64), age int, gpa decimal(3, 2)); 并使用此查询插入数据: insert into table students values ('fred flinstone', 445, 1.34); 它不显示任何错误,但当我使用 select * from students 它给了我以下错误: Error: Error while compiling stat

我使用以下查询创建了配置单元表:

create table students (name varchar(64), age int, gpa decimal(3, 2));

并使用此查询插入数据:

insert into table students values ('fred flinstone', 445, 1.34);

它不显示任何错误,但当我使用

select * from students
它给了我以下错误:

Error: Error while compiling statement: FAILED: NullPointerException null (state=42000,code=40000)

当我在Hive中加入表时,我遇到了相同的错误。

Hi,在Hive-1.1.0-cdh5.14.2上,它工作正常。您是否从Hue-Hive查询表?如果它来自色调,两次确认你在蜂箱上而不是黑斑羚上。它工作正常。请分享更多细节