无法将数据插入Hive表

问题描述

我使用以下查询创建了蜂巢表:

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中加入表时遇到同样的错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)