HIVE讲义,HIVE数据库是基于maperesources

时间:2022-04-27 16:19:56
【文件属性】:

文件名称:HIVE讲义,HIVE数据库是基于maperesources

文件大小:4.73MB

文件格式:PPTX

更新时间:2022-04-27 16:19:56

LINUX HIVE

1#建表(默认是内部表) create table test_hive(id bigint,account string,expense double,time string) row format delimited fields terminated by '\t'; #建分区表(有大量数据增加的需要建分区表) create table test_part(id bigint,account string,expense double,time string) partitioned by (logdate string) row format delimited fields terminated by '\t';


网友评论