Hi @SASUser_86
I think it is Athena (aka Presto) that doesn't like the hyphens. SAS is passing the name to Athena; Athena is returning the error message.
In Athena a schema=database.
The following text comes from this page: https://docs.aws.amazon.com/athena/latest/ug/glue-best-practices.html (I have highlighted the relevant section.
Database, Table, and Column Names
When you create schema in AWS Glue to query in Athena, consider the following:
A database name cannot be longer than 252 characters.
A table name cannot be longer than 255 characters.
A column name cannot be longer than 128 characters.
The only acceptable characters for database names, table names, and column names are lowercase letters, numbers, and the underscore character.
You can use the AWS Glue Catalog Manager to rename columns, but at this time table names and database names cannot be changed using the AWS Glue console. To correct database names, you need to create a new database and copy tables to it (in other words, copy the metadata to a new entity). You can follow a similar process for tables. You can use the AWS Glue SDK or AWS CLI to do this.
Best wishes,
Jeff
... View more