hive表在显示数据时显示空输出

时间:2015-11-23 02:31:48

标签: hive bigdata hiveql

Hive显示为空

create table users (name string, id int) row format delimited fields terminated by '\t' stored as textfile;



Output received
raj   NULL
venkat NULL
appu   NULL
sony   NULL
lg     NULL
nani   NULL

我能知道这是什么问题吗?

1 个答案:

答案 0 :(得分:0)

问题将是以下任何一个问题:

1。)您的数据文件没有第二列的值。

2.。)您的数据文件有两列,但第二列不是整数。

希望它有所帮助...... !!!

相关问题