数据存储
数据存储
白雨画桥
这个作者很懒,什么都没留下…
展开
-
HIVE综合练习
1、 创建外部表employee,字段为:name,age,city,areacreate external table employee(name string,age int,city string,area string) row format delimited fields terminated by "," location "/data";2、创建分区表pemp,字段同上,分区字段从上述四个字段中选择合适的字段create table pemp(age int,city string原创 2020-06-11 15:47:02 · 418 阅读 · 0 评论 -
HBase 综合练习
1、创建命名空间cqiecreate_namespace 'cqie'2、创建表student,列族info,course,版本数3create 'cqie:student',{NAME=>'info',VERSIONS=>3},{NAME=>'course',VERSIONS=>3}3、列表显示创建的表List4、显示student的表结构describe 'cqie:student'5、插入数据put 'cqie:student','179001原创 2020-05-14 17:42:30 · 1075 阅读 · 0 评论