Unverified Commit 721fcb41 by Vlad Glinsky Committed by GitHub

ATLAS-3655: Create 'spark_application' type to avoid 'spark_process' from being…

ATLAS-3655: Create 'spark_application' type to avoid 'spark_process' from being updated for multiple operations (#91)
parent 9d6f1f6b
...@@ -306,6 +306,34 @@ ...@@ -306,6 +306,34 @@
] ]
}, },
{ {
"name": "spark_application",
"superTypes": [
"Process"
],
"serviceType": "spark",
"typeVersion": "1.0",
"attributeDefs": [
{
"name": "currentUser",
"typeName": "string",
"isOptional": true,
"cardinality": "SINGLE",
"isUnique": false,
"isIndexable": true,
"searchWeight": 10
},
{
"name": "remoteUser",
"typeName": "string",
"isOptional": true,
"cardinality": "SINGLE",
"isUnique": false,
"isIndexable": true,
"searchWeight": 10
}
]
},
{
"name": "spark_process", "name": "spark_process",
"superTypes": [ "superTypes": [
"Process" "Process"
...@@ -495,6 +523,25 @@ ...@@ -495,6 +523,25 @@
"name": "columnLineages", "name": "columnLineages",
"isContainer": true, "isContainer": true,
"cardinality": "SET" "cardinality": "SET"
},
"propagateTags": "NONE"
},
{
"name": "spark_application_processes",
"serviceType": "spark",
"typeVersion": "1.0",
"relationshipCategory": "AGGREGATION",
"endDef1": {
"type": "spark_application",
"name": "processes",
"cardinality": "SET",
"isContainer": true
},
"endDef2": {
"type": "spark_process",
"name": "application",
"cardinality": "SINGLE"
}, },
"propagateTags": "NONE" "propagateTags": "NONE"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment