Why are some of my AWS Glue tables missing in Athena?

2 minute read

Some of the tables that I see in the AWS Glue console aren't visible in the Amazon Athena console.


You might see more tables in the AWS Glue console than in the Athena console for the following reasons:

Different data sources

If you created tables that point to different data sources, then the consoles show tables from different sets of data. The Athena console shows only those tables that point to Amazon Simple Storage Service (Amazon S3) paths. AWS Glue lists tables that point to different data sources, such as Amazon Relational Database Service (Amazon RDS) DB instances and Amazon DynamoDB tables. For more information on using Athena to query data from different sources, see Connecting to data sources and Using Amazon Athena Federated Query.

Unsupported table formats

Your tables doesn't appear in the Athena console if you created them in formats that aren't supported by Athena, such as XML. These tables appear in the AWS Glue Data Catalog, but not in the Athena console. For a list of supported formats, see Supported SerDes and data formats.

Unavailable resources from AWS Lake Formation

Resources in Lake Formation aren't automatically shared with Athena or granted permissions. To make sure that resources are accessible between these services, create policies that allow your resources permission to Athena. For managing resource policies at scale within a single account, use tag-based asset control. For a detailed guide of this process, see Easily manage your data lake at scale using AWS Lake Formation Tag-based access control.

For managing resource policies across accounts, you can use tag-based asset control or named resources. For a detailed guide of both options, see Securely share your data across AWS accounts using AWS Lake Formation.

Related information

What is Amazon Athena?

Adding classifiers to a crawler in AWS Glue

AWS OFFICIALUpdated a year ago