1 Answer
- Newest
- Most votes
- Most comments
0
You are right that you get this error when the database name specified in the DDL statement contains a hyphen ("-"). AWS Glue allows database names with hyphens. However, underscores (_) are the only special characters that Athena supports in database, table, view, and column names.
To resolve this issue, recreate the database with a name that doesn't contain any special characters other than underscore (_).
Reference - https://aws.amazon.com/premiumsupport/knowledge-center/parse-exception-missing-eof-athena/
Relevant content
- asked 8 months ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 13 days ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 9 months ago