Skip to main content

Import: AWS Glue

Creates a data contract from the AWS Glue Data Catalog.

# Import specific tables from a Glue database
datacontract import glue --database my_database --table orders --table line_items

# Import all tables in the database
datacontract import glue --database my_database

AWS credentials are resolved from the standard AWS environment / configuration (e.g. AWS_PROFILE, AWS_REGION).

note

datacontract test cannot connect to Glue directly. To test the actual data, replace the generated servers entry with the underlying storage — typically Amazon S3 or Amazon Athena.

All options: datacontract import glue.