hive建内部表、外部表、分区表

一、建内部表
create table emp (
id string default null comment ‘’
,name string default null comment ‘’
,id_no string default null comment ‘’
)clustered by (id) into 31 buckets
stored as orc
tblpropertirs (“transactional”=“true”);

猜你喜欢

转载自blog.csdn.net/dscfirst/article/details/88748532