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