HIVE讲义HIVE数据库是基于maperesources

luiyongxing 46 0 PPTX 2019-09-09 11:09:35

1#建表(默认是内部表)createtabletest_hive(idbigint,accountstring,expensedouble,timestring)rowformatdelimitedfieldsterminatedby'\t';#建分区表(有大量数据增加的需要建分区表)createtabletest_part(idbigint,accountstring,expensedouble,timestring)partitionedby(logdatestring)rowformatdelimitedfieldsterminatedby'\t

用户评论
请输入评论内容
评分:
暂无评论