Node_Columns
node object
The Node source of the column. It only shows direct lineage.
An autogenerated Node ID.
The Node name.
location object
Where the Node is located.
The name of the Node Storage Location
WORK
The Node description.
The materialization of the Node. Table or View.
Possible values: [table
, view
]
If the Node is Multi Source
override object
If the materializationType
is set to view, users can override Create SQL allows a user to override the DDL of a view, enabling greater flexibility in view creation. Override Create SQL Toggle.
create object
If the user has toggled override to true or false.
The custom script written in the Create SQL box.
tests object[]
Any Node level tests.
Name of the test.
Test
Description of the test.
If the pipeline should keep running, even if the Node test fails.
If the test should run before or after the DML operation.
Possible values: [Before
, After
]
Any custom SQL that was added here.
SELECT * FROM COALESCE
columns object[]
The columns in the source node that it maps to.
An auto-generated Coalesce ID.
4c1e4719-b72b-41fe-82f6-7b6311475fdd
The name of the column.
L_PARTKEY
This is the data type for the column and by default maps to the source of the Node.
NUMBER(38,0)
If there is a comment or description or it can be added here.
Column description
If a column can have null values
Default value of a column.
Coalesce
tests object[]
Column level tests for null and unique values. Each test is in it's own object.
If there are no tests, shows as an empty array.
tests: []
Name of the test. Indicates if the test is Unique or "Null"
Possible values: [Unique
, "Null"
]
Null
"Null"
Description of the test.
- Null testing -
checks for any null values
- Unique value
check if value is unique
checks for any null values
Specifies if to continue running the pipeline after the related test fails.
Column level tests run After.
After
After
The SQL template for the test that will be executed. These are examples.
Unique
templateString: |2-
SELECT * FROM {{ ref(node.location.name, node.name)}}
WHERE "L_ORDERKEY" IS NULL
Null
templateString: |2-
SELECT "L_ORDERKEY", COUNT(*)
FROM {{ ref(node.location.name, node.name)}}
GROUP BY "L_ORDERKEY"
HAVING COUNT(*) > 1
\n SELECT * FROM {{ ref(node.location.name, node.name)}} \n WHERE \"L_ORDERKEY\" IS NULL
{
"node": {
"id": "string",
"name": "string",
"nodeType": "string",
"location": {
"name": "WORK"
},
"description": "string",
"isMultisource": true,
"override": {
"create": {
"enabled": true,
"script": "string"
}
},
"tests": [
{
"name": "Test",
"description": "string",
"continueOnFailure": "string",
"templateString": "SELECT * FROM COALESCE"
}
]
},
"columns": [
{
"id": "4c1e4719-b72b-41fe-82f6-7b6311475fdd",
"name": "L_PARTKEY",
"dataType": "NUMBER(38,0)",
"description": "Column description",
"nullable": true,
"defaultValue": "Coalesce",
"tests": [
{
"name": "\"Null\"",
"description": "checks for any null values",
"continueOnFailure": true,
"runOrder": "After",
"templateString": "\n SELECT * FROM {{ ref(node.location.name, node.name)}} \n WHERE \"L_ORDERKEY\" IS NULL"
}
]
}
]
}