별거없다.. 그냥 STORED AS PARQUET를 적어주자.
PARQUET타입으로 저장하면 용량이 매우 압축되고 빨라서 좋다.ㅎㅎ
CREATE EXTERNAL TABLE `test1.test`(
add1 string
,add2 string
,x int
,y int
,temp double
,humidity int
,raifall int
,rainfall_shape int
,wind_speed double
,wind_direction int
,base_date string
,base_time string
,ins_dt string
)
PARTITIONED BY (`dt` string)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\t'
STORED AS PARQUET
LOCATION '/test1/test2/test'