Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Mar 17, 2024
1 parent 6962536 commit 54db1c3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ export type AssetColumnLineageLocal = {

export type AssetColumnLineages = {[graphId: string]: AssetColumnLineageLocal | undefined};

/**
* The column definitions and the column lineage are in two separate metadata entries,
* and the definitions may be specified in definition-time or materialization-time metadata.
* Parse them both and combine the results into a single representation of asset columns
* that is easier for the rest of the front-end to use.
*/
const getColumnLineage = (
asset: AssetColumnLineageQuery['assetNodes'][0],
): AssetColumnLineageLocal | undefined => {
Expand Down

0 comments on commit 54db1c3

Please sign in to comment.