Open Gauravshah opened 2 years ago
For a table with following schema:
CREATE EXTERNAL TABLE `s3_raw_mongo_snapshots.users`( `fb_info` struct<_id:string,ext_user_id:string> )
Athena ends up with :
ParseException line 1:4736 cannot recognize input near '_id:struct' '<' 'Doid' i
It fails to created since glue column cannot start with _ this can be fixed by escaping it
_
CREATE EXTERNAL TABLE `s3_raw_mongo_snapshots.users`( `fb_info` struct<`_id`:string,`ext_user_id`:string> )
For a table with following schema:
Athena ends up with :
It fails to created since glue column cannot start with
_
this can be fixed by escaping it