CREATE  EXTERNAL TABLE dm_campaign_adn_tag
PARTITIONED BY (
  year string,
  date string
) ROW FORMAT SERDE 'mobvista.dataplatform.text.TextSerde'
STORED AS TEXTFILE
LOCATION 's3://mob-emr-test/dataplatform/DataWareHouse/data/dwh/dm_campaign_adn_tag'
TBLPROPERTIES (
  'schema.url'='s3://mob-emr-test/dataplatform/DataWareHouse/schema/dwh/dm_campaign_adn_tag/dm_campaign_adn_tag.avsc'
);