-- ga 数据全量表
CREATE EXTERNAL TABLE ods_ga_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_ga_device_total'
TBLPROPERTIES (
  'schema.url'='s3://mob-emr-test/dataplatform/DataWareHouse/schema/dwh/ods_ga_device_total/ods_ga_device_total.avsc'
)