如何在配置单元表中插入一些列?

vjhs03f7  于 2021-06-28  发布在  Hive
关注(0)|答案(0)|浏览(124)

我把table放在Apache hive 里,

create table example(
 name String,
 age int,
sex boolean
)coment'this is example table'
patitioned by(year int,month int,day int);

现在,我只想在一列中插入name

insert into example(name)  patition(2016,12,10) values("peter");

但它不活跃?我不明白。你能告诉我为什么吗?

暂无答案!

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

相关问题