CREATE EXTERNAL TABLE lavalog.test_log(
date string,
log string)
PARTITIONED BY (year int,month int,day int)
ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe'
WITH SERDEPROPERTIES ('ignore.malformed.json'='true')
LOCATION 's3://fluent-bit-s3-gj/testlog/';
修复分区表
MSCK REPAIR TABLE lavalog.log;
标签:log,int,创建,lavalog,aws,s3,TABLE,string,athena From: https://blog.51cto.com/yht1990/6481719