View a markdown version of this page

Lineage for AWS Glue Data Catalog tables and crawlers - AWS Glue

Lineage for AWS Glue Data Catalog tables and crawlers

The AWS Glue Data Catalog records lineage for tables on your behalf. When a table is created, AWS Glue connects it to the data it comes from. You don't need to configure anything.

AWS Glue records lineage when you, a crawler, or another service creates a table. It records lineage again only when an update changes the table's location or columns. Changes to table parameters or statistics don't add new lineage. Neither does a crawler run that finds no change.

Tables created directly

When a table is created with CreateTable, for example by your code, AWS CloudFormation, or another AWS service, AWS Glue records lineage from the table's storage location to the table. The location can be in Amazon S3 or Amazon DynamoDB. The graph shows:

  • A dataset node for the Amazon S3 location or DynamoDB table.

  • A job node named glue_manual.<database>.<table>. Its description names the IAM user, IAM role, or AWS service that created the table.

  • A dataset node for the table, with its schema.

Tables created by crawlers

For tables that a crawler creates or updates, the job node is named glue_crawler.<crawler>/<database>.<table>. Its description names the crawler. Each table that a crawler writes has its own job node.

AWS Glue records lineage for crawlers that read these sources:

  • Amazon S3

  • Amazon DynamoDB

  • JDBC sources for MySQL, PostgreSQL, Oracle, Microsoft SQL Server, and Amazon Redshift

For JDBC sources, the input dataset follows the OpenLineage dataset naming conventions. So it matches the node that other producers, such as Spark jobs, send for the same database table.

To collect lineage from inside Snowflake or Databricks Unity Catalog, see Lineage from Snowflake and Lineage from Databricks Unity Catalog.

Limitations

For limitations, see Considerations.