Create a connection to AWS Glue Data Catalog

This quickstart describes how to create an AWS Glue Data Catalog connection.

Create a connection to the AWS Glue Data Catalog

Before you begin copying your data to Amazon Athena, you must ingest it into the AWS Glue Data Catalog. This maintains your existing schemas, partitions, and other relevant metadata information.

Here’s the code to create a connection to the Glue Data Catalog:

CREATE GLUE_CATALOG CONNECTION production_catalog
    AWS_ROLE = 'arn:aws:iam::111111111111:role/<upsolver-role-*>';

This code creates a Glue Data Catalog connection named production_catalog, and instructs Upsolver on which AWS_ROLE to use.

For more information on roles, see the Amazon guide to Roles terms and concepts.

Last updated