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

e37o9pze  于 2021-06-24  发布在  Hive
关注(0)|答案(0)|浏览(162)

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

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)

当我加入配置单元中的表时,也会出现同样的错误。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题