If you used the AWS Glue crawler to create the table, then be sure that the following are true:
The table's classification isn't UNKNOWN.
The table has defined columns.
If the classification is UNKNOWN, then there's an issue with the table schema. Fix the schema and run the crawler again. For more information, see Adding classifiers to a crawler in AWS Glue.