Lineage model¶
Reference documentation
This is reference documentation covering the entire Atlan model. It is not the best place to start when trying to understand how to manage lineage in Atlan. For that, we would suggest starting with the lineage snippets.
These are the model elements in Atlan related to lineage.
classDiagram
direction RL
class Asset {
<<abstract>>
}
link Asset "../entities/asset"
class Referenceable {
<<abstract>>
}
link Referenceable "../entities/referenceable"
Referenceable <|-- Asset : extends
class Process
link Process "../lineage"
Asset <|-- Process : extends
class BIProcess
link BIProcess "../entities/biprocess"
Process <|-- BIProcess : extends
class DbtProcess
link DbtProcess "../entities/dbtprocess"
Process <|-- DbtProcess : extends
class ColumnProcess
link ColumnProcess "../entities/columnprocess"
Process <|-- ColumnProcess : extends
class DbtColumnProcess
link DbtColumnProcess "../entities/dbtcolumnprocess"
ColumnProcess <|-- DbtColumnProcess : extends
Type-specific properties¶
Following are the properties uniquely available on Process
assets in Atlan.
ast
TBC | |
---|---|
1 2 3 |
|
-
Set the
ast
for aLineageProcess
. -
Retrieve the
ast
from aLineageProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
ast
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
code
TBC | |
---|---|
1 2 3 |
|
-
Set the
code
for aLineageProcess
. -
Retrieve the
code
from aLineageProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
code
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
sql
TBC | |
---|---|
1 2 3 |
|
-
Set the
sql
for aLineageProcess
. -
Retrieve the
sql
from aLineageProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
sql
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
ast
Parsed AST of the code or SQL statements that describe the logic of this process. | |
---|---|
1 2 3 |
|
-
Set the
ast
for aProcess
. -
Retrieve the
ast
from aProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
ast
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
code
Code that ran within the process. | |
---|---|
1 2 3 |
|
-
Set the
code
for aProcess
. -
Retrieve the
code
from aProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
code
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
inputs
Assets that are inputs to this process. | |
---|---|
1 2 3 |
|
-
Set the
inputs
for aProcess
. -
Retrieve the
inputs
from aProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
inputs
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
outputs
Assets that are outputs from this process. | |
---|---|
1 2 3 |
|
-
Set the
outputs
for aProcess
. -
Retrieve the
outputs
from aProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
outputs
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
sql
SQL query that ran to produce the outputs. | |
---|---|
1 2 3 |
|
-
Set the
sql
for aProcess
. -
Retrieve the
sql
from aProcess
.For more details
For more information, see the asset CRUD snippets on retrieving assets.
-
Find all assets in Atlan with their
sql
exactly matching the provided value.For more details
For more information, see the searching section on term queries.
ast
TBC | |
---|---|
1 2 3 4 5 |
|
-
Set the
ast
for aProcess
.For more details
For more information, see the asset CRUD snippets.
code
TBC | |
---|---|
1 2 3 4 5 |
|
-
Set the
code
for aProcess
.For more details
For more information, see the asset CRUD snippets.
sql
TBC | |
---|---|
1 2 3 4 5 |
|
-
Set the
sql
for aProcess
.For more details
For more information, see the asset CRUD snippets.
Relationships¶
The following illustrates how the various pieces of lineage inter-relate with each other:
erDiagram
Process ||--o{ ColumnProcess : columnProcesses
Process }o--|{ Asset : inputs
Process }o--|{ Asset : outputs
Process }o--o{ MatillionComponent: matillionComponent
ColumnProcess }o--|{ Asset : inputs
ColumnProcess }o--|{ Asset : outputs