

# Considerations

The following considerations and limitations apply to AWS Glue Data Catalog Lineage. Each item links to the page with more details.

## Default behavior
<a name="catalog-lineage-considerations-default-behavior"></a>


| Event type | Default | Can you change it? | 
| --- | --- | --- | 
| Write events (jobs that write data) | On for all customers on supported releases | Yes. Turn off per job, cluster, or application, or deny the permission | 

## Supported sources and versions
<a name="catalog-lineage-considerations-sources"></a>
+ Federated tables and resource links don't get lineage. For details, see [Lineage for AWS Glue Data Catalog tables and crawlers](catalog-lineage-crawlers-mv.md).
+ Crawlers that read sources other than Amazon S3, Amazon DynamoDB, and JDBC sources for MySQL, PostgreSQL, Oracle, Microsoft SQL Server, and Amazon Redshift, such as MongoDB, don't get lineage. For details, see [Lineage for AWS Glue Data Catalog tables and crawlers](catalog-lineage-crawlers-mv.md).

## Capture behavior
<a name="catalog-lineage-considerations-capture"></a>
+ Lineage for tables created directly or by crawlers includes the table schema, but not column-level lineage. For details, see [Lineage for AWS Glue Data Catalog tables and crawlers](catalog-lineage-crawlers-mv.md).
+ Deleting a table doesn't remove its lineage. For details, see [Lineage for AWS Glue Data Catalog tables and crawlers](catalog-lineage-crawlers-mv.md).
+ Capture runs asynchronously in the Spark driver and doesn't change job results. Write-only capture showed no noticeable performance impact in testing. For details, see [Automatic lineage capture from AWS services](catalog-lineage-aws-services.md).
+ Jobs that run with fine-grained access control send lineage only to AWS Glue Data Catalog, and only when the transport type is `amazon_glue_api`. For details, see [Automatic lineage capture from AWS services](catalog-lineage-aws-services.md).
+ For jobs without fine-grained access control, to send lineage to other destinations, set `spark.openlineage.transport.type` to `composite` and list `amazon_glue_api` with your other transports. For details, see [Automatic lineage capture from AWS services](catalog-lineage-aws-services.md).

## Third-party sources
<a name="catalog-lineage-considerations-third-party"></a>
+ Some DDL queries aren't supported, such as ALTER TABLE ADD COLUMN, ALTER TABLE DROP COLUMN, and RENAME TABLE. For details, see [Lineage from Databricks Unity Catalog](catalog-lineage-databricks.md).
+ Each dataset has one node however Databricks refers to it. For example, `dbfs:/Volumes/...` and `/Volumes/...` map to the same node. For details, see [Lineage from Databricks Unity Catalog](catalog-lineage-databricks.md).
+ Lineage older than 7 days isn't collected. For details, see [Lineage from Databricks Unity Catalog](catalog-lineage-databricks.md).

## Publishing and APIs
<a name="catalog-lineage-considerations-publishing"></a>
+ An event can be up to 300,000 bytes. For details, see [Publishing data lineage programmatically](catalog-lineage-publish-api.md).
+ A lineage node can have up to 250 upstream nodes and 250 downstream nodes. Connections beyond this limit aren't recorded. For details, see [Publishing data lineage programmatically](catalog-lineage-publish-api.md).

## Identities
<a name="catalog-lineage-considerations-identities"></a>
+ Identities are recorded as the service reports them. Lineage is best effort and isn't a replacement for AWS CloudTrail. For details, see [Identities recorded in lineage events](catalog-lineage-identity.md).
+ Identity Center users are recorded with the identity store ID, so the value is unique across accounts. For details, see [Identities recorded in lineage events](catalog-lineage-identity.md).

## Access and permissions
<a name="catalog-lineage-considerations-access"></a>
+ For catalogs encrypted with a customer managed AWS KMS key, AWS Glue records lineage only while the key allows it to decrypt the catalog. If you disable the key or schedule it for deletion, AWS Glue doesn't record lineage for changes made during that time. For details, see [Lineage for AWS Glue Data Catalog tables and crawlers](catalog-lineage-crawlers-mv.md).
+ Your job's role needs `glue:PostLineageEvent`. For details, see [Automatic lineage capture from AWS services](catalog-lineage-aws-services.md).
+ Jobs in private subnets need a route to AWS Glue. For details, see [Getting started with data lineage](catalog-lineage-getting-started.md).

## Regions and accounts
<a name="catalog-lineage-considerations-regions"></a>
+ Cross-account lineage isn't supported. For details, see [How lineage capture works](catalog-lineage-how-it-works.md).