CREATE  EXTERNAL TABLE dim_adn_campaign
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/dim_adn_campaign'
TBLPROPERTIES (
  'schema.url'='s3://mob-emr-test/dataplatform/DataWareHouse/schema/dwh/dim_adn_campaign/dim_adn_campaign.avsc'
);