Preparing data tables in Amazon Athena - AWS Clean Rooms

Preparing data tables in Amazon Athena

You can query data tables that have been created as AWS Glue Data Catalog (GDC) Views in Amazon Athena.

A GDC View is a virtual table, created from one or more underlying AWS Glue tables. It must be created using Athena SQL in the Athena AwsGlueCatalog catalog.

Preparing your data tables in Amazon Athena involves the following steps:

Step 1: Complete the prerequisites

To prepare your data tables for use with AWS Clean Rooms, you must complete the following prerequisites:

Step 2: (Optional) Prepare your data for cryptographic computing

(Optional) If you're using cryptographic computing and your data table contains sensitive information that you want to encrypt, you must encrypt the data table using the C3R encryption client.

To prepare your data for cryptographic computing, follow the procedures in Preparing encrypted data tables with Cryptographic Computing for Clean Rooms.

Step 3: Next steps

Now that you have prepared your data tables in Amazon Athena, you are ready to:

The tables can be queried after:

  • The collaboration creator has set up a collaboration in AWS Clean Rooms. For more information, see Creating a collaboration.

  • The collaboration creator has sent the collaboration ID to you as a participant in the collaboration.