dmp_install_list.sql 553 Bytes
Newer Older
wang-jinfeng committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
USE dwh;
CREATE EXTERNAL TABLE dwh.`dmp_install_list`(
    device_id string,
    device_type string,
    platform string,
    country string,
    install_list string,
    ext_data string,
    update_date string
)PARTITIONED BY (
    dt string,
    business string
) ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.orc.OrcSerde'
STORED AS INPUTFORMAT
    'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat'
OUTPUTFORMAT
    'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'
LOCATION 's3://mob-emr-test/dataplatform/DataWareHouse/data/dwh/dmp_install_list';