- Newest
- Most votes
- Most comments
The error you're encountering is likely due to the use of uppercase letters in your table name or column names when creating the S3 table. When working with S3 Tables, it's crucial to use all lowercase letters for table names and column definitions to ensure compatibility with AWS Lake Formation and the AWS Glue Data Catalog.
To resolve this issue, you should check the following:
- Verify that your table name is in all lowercase.
- Ensure all column names in your table definition are in lowercase.
- If you find any uppercase letters, you'll need to recreate the table with the correct lowercase naming.
This requirement is specific to S3 Tables and is necessary for the table to be properly supported by AWS Lake Formation and the AWS Glue Data Catalog. If your table name or definition contains any capital letters, it won't be visible to AWS analytics services like Amazon Athena, even if your table buckets are integrated with these services.
To fix this, you'll need to:
- Review your table creation process, ensuring all names are in lowercase.
- If necessary, drop the existing table.
- Recreate the table using all lowercase letters for the table name and column names.
After making these changes, you should be able to query your S3 table in Athena without encountering the "Unsupported Federation Resource" error. Remember, this applies to both the table name and all column names in your table definition.
Sources
Tutorial: Getting started with S3 Tables - Amazon Simple Storage Service
Creating an Amazon S3 table - Amazon Simple Storage Service
Relevant content
- asked 2 months ago
- AWS OFFICIALUpdated 10 months ago
I have checked my table and column names are valid. If i select my S3 table catalog and database , then i dont see this tablr in athena, but i see the table in S3 table bucket from the console, so i dont know why this table doesnt appear in athena
Hi @ashish, if you cannot see the table in Athena but verified it exists through the Console, you may be want to check that you have enabled S3 Tables integration with AWS analytics services.
i am able to see the table in athena now but i get below error while running the query- Insufficient permissions to execute the query. Principal does not have any privilege on specified resource This query ran against the "fdp_test_ns" database, unless qualified by the query. Please post the error message on our forum or contact customer support with Query Id: