-- adn 系统
CREATE EXTERNAL TABLE `ods_adn_device_total`
PARTITIONED BY (
  year string,
  month string,
  day string
) ROW FORMAT SERDE 'mobvista.dataplatform.text.TextSerde'
STORED AS TEXTFILE
LOCATION 's3://mob-emr-test/dataplatform/DataWareHouse/data/dwh/ods_adn_device_total'
TBLPROPERTIES (
  'schema.url'='s3://mob-emr-test/dataplatform/DataWareHouse/schema/dwh/ods_adn_device_total/ods_adn_device_total.avsc'
)