-
Hi Team, We want attribute level lineage for that we are using DerivesFrom collection. Basically we need source column name ,table name, destination column name and table name for that we are joining derives from>attribute first to get column name but how can we get the table name/uri for source and destination? We have tried the we can get for the read and write type from joining with operation but for the Transformation type we are not able to get. It will be really helpful if you can guide me, how to join operation and datasource collection and get the table name/uri for transformation type? Thanks in Advance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Not every attribute represents a column in a table. Attributes that form a transformation operation output schema might be virtual or be a part of a temporary table depending on the implementation of the engine that produced the given execution plan. If you are looking for a dependency between columns of persistent data sources (database tables) you need to traverse the graph from the write operation up to all connected read operations, that should contain necessary details about the data sources they read from. |
Beta Was this translation helpful? Give feedback.
-
Correct
The phrase does not make any sense to me. Attributes are stored as nodes, and are not connected with neither
That still doesn't make any sense to me. What is CTE table?
Ok, so if understand it correctly all you need it to traverse the graph along the highlighted edges (see the schreenshot). Basically, you take a destination |
Beta Was this translation helpful? Give feedback.
Correct
The phrase does not make any sense to me. Attributes are stored as nodes, and are not connected with neither
readsFrom
norwritesTo
edge. What exactly did you mean by that?That still d…