hive查詢,鏈接left join、inner join

一、建立表 1.一、直接將一個表裏的字段查出來放到新建的表中,字段hive會自動建好。 create table temp_table stored as rcfile as select id, name, age, school from table1 where id=xxx; 1.二、將表字段建立好,根據性別和省份分區,(分區字段不用寫到字段裏) create table temp_tab
相關文章
相關標籤/搜索