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