CREATE EXTERNAL TABLE demodbdb
(
data struct<
name:string,
age:string
cars:array<string>
>
)
ROW FORMAT SERDE
'org.openx.data.jsonserde.JsonSerDe'
LOCATION
's3://priyajdm/';
I got the following error:
no viable alternative at input 'create external' (service: amazonathena; status code: 400; error code: invalidrequestexception;