create table if not exists test_orc( name string, age int, address string ) partitioned by (dt string)STORED AS ORC; set hive.execution.engine=tez; set hive.llap.execution.mode=auto; select * from test_orc;…
创建普通临时表: create table if not exists test_orc_tmp( name string, gender string, cnt BIGINT )row format delimited fields terminated by '|' stored as textfile; 创建ORC表: drop table test_orc; create table if not exists test_orc( name string, gende…