HIVE分区表-全量导入数据

CREATE TABLE CH_ZDEV.TMP_20220901 (
USERID STRING,
USERNAME STRING,
DOMSTC DOUBLE
)
PARTITIONED BY (REPT_DT STRING)
STORED AS PARQUET;
HIVE分区表-全量导入数据_第1张图片
INSERT OVERWRITE TABLE CH_ZDEV.TMP_20220901 PARTITION (REPT_DT )
SELECT USERID
,USERNAME
,DOMSTC
,REPT_DT
FROM CH_ZDEV.TMP_20220831;

你可能感兴趣的:(HIVE,hive,大数据,hadoop)