• Hive通过动态分区装载数据

    时间:2021-12-18 13:44:58

    进入hive: 1、创建分区表t12 create table t12(id int,name string) partitioned by (year:int,month:int) row format delimited fields terminated by '\t'; 2、装载数据到分区表...

  • Hive 视图 索引 动态分区装载数据

    时间:2021-12-18 13:44:58

    视图 创建视图 create view v_emp AS select t.name, t.age, t.addr from t_emp; 删除视图 drop view if exists v_emp; 索引 创建索引 create index t_emp_i...