摘要: hive支持四种数据模型 为了避免table名称冲突,hive用database作为顶层域名,如果不设定database,就采用default database。 阅读全文
posted @ 2017-11-15 17:37 麻雀虽小五脏俱全 阅读(689) 评论(0) 推荐(0)
摘要: 1、创建hive分区表: create table invites (id int, name string) partitioned by (ds string) row format delimited fields terminated by 't' stored as textfile; 2 阅读全文
posted @ 2017-11-15 16:23 麻雀虽小五脏俱全 阅读(205) 评论(0) 推荐(0)