HIVE简单操作命令

beeline

beeline> !connect jdbc:hive2://192.168.2.2:10000

hdfs

回车回车

直接用默认表,不需要配置权限

create table st(id int,name string) row format delimited fields terminated by ",";

insert into st(id,name) values(1,'萨达')

create table cloudalarm(level string,source string,location string,device string,symptom string) row format delimited fields terminated by ",";

猜你喜欢

转载自blog.csdn.net/ccagy/article/details/108241898