untitled.dag 6.0 KB

1
  1. {"user_name":"XXX","user_id":1,"project_name":"dfs","project_id":123,"itermidate_data":["hdfs://host:port/uri"],"nodes":[{"id":"143cfcb1-f566-4f97-b38b-9b62d40fe4cd","name":"SQL","op":"script","data":{"input":1,"output":[{"outputVar":"r3"}],"script":"Select * from table11","param":"test SQL Param"}},{"id":"6b437370-0468-44da-a0bb-e637e33f3efb","name":"PySpark","op":"script","data":{"input":1,"output":[{"outputVar":"r2"}],"script":"import pySpark\n\nprint('hello wolrd pySpark')","param":"test PySpark Param"}},{"id":"a372779f-1059-42bb-b2b9-93868bf22a89","name":"SQL","op":"script","data":{"input":1,"script":""}},{"id":"37dab35d-9421-4784-b39c-5c645b1312c8","name":"DataSource","op":"datasource","data":{}},{"id":"2bc62ced-b29d-4937-a835-54c62b1d8c17","name":"PySpark","op":"script","data":{"input":1,"script":""}}],"edges":[{"id":"2d2f9f13-d7c9-478b-80a7-05ee2cf46c98","source":"37dab35d-9421-4784-b39c-5c645b1312c8","target":"6b437370-0468-44da-a0bb-e637e33f3efb"},{"id":"ed788069-6ce2-47bb-9d8f-7b8248cddea7","source":"37dab35d-9421-4784-b39c-5c645b1312c8","target":"a372779f-1059-42bb-b2b9-93868bf22a89"},{"id":"30b70aa1-7108-4aad-ae21-effd1845f3f9","source":"37dab35d-9421-4784-b39c-5c645b1312c8","target":"143cfcb1-f566-4f97-b38b-9b62d40fe4cd"},{"id":"95fa68c0-c258-4353-b6b0-ac5a3f78c11c","source":"6b437370-0468-44da-a0bb-e637e33f3efb","target":"2bc62ced-b29d-4937-a835-54c62b1d8c17"}],"graph":{"cells":[{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"2d2f9f13-d7c9-478b-80a7-05ee2cf46c98","zIndex":-1,"source":{"cell":"37dab35d-9421-4784-b39c-5c645b1312c8","port":"bottomPort"},"target":{"cell":"6b437370-0468-44da-a0bb-e637e33f3efb","port":"topPort"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"ed788069-6ce2-47bb-9d8f-7b8248cddea7","zIndex":-1,"source":{"cell":"37dab35d-9421-4784-b39c-5c645b1312c8","port":"bottomPort"},"target":{"cell":"a372779f-1059-42bb-b2b9-93868bf22a89","port":"topPort"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":"","style":{"animation":""}}},"id":"30b70aa1-7108-4aad-ae21-effd1845f3f9","zIndex":-1,"source":{"cell":"37dab35d-9421-4784-b39c-5c645b1312c8","port":"bottomPort"},"target":{"cell":"143cfcb1-f566-4f97-b38b-9b62d40fe4cd","port":"topPort"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"95fa68c0-c258-4353-b6b0-ac5a3f78c11c","zIndex":-1,"source":{"cell":"6b437370-0468-44da-a0bb-e637e33f3efb","port":"bottomPort"},"target":{"cell":"2bc62ced-b29d-4937-a835-54c62b1d8c17","port":"topPort"}},{"position":{"x":470,"y":350},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"ports":{"groups":{"top":{"position":"top","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}},"bottom":{"position":"bottom","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}}},"items":[{"id":"topPort","group":"top"},{"id":"bottomPort","group":"bottom"}]},"id":"143cfcb1-f566-4f97-b38b-9b62d40fe4cd","data":{"label":"SQL","status":"failed","type":"script","id":"143cfcb1-f566-4f97-b38b-9b62d40fe4cd","paramText":"test SQL Param","scriptText":"Select * from table11","outputData":[{"outputVar":"r3"}],"inputNumber":1},"zIndex":2},{"position":{"x":260,"y":350},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"ports":{"groups":{"top":{"position":"top","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}},"bottom":{"position":"bottom","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}}},"items":[{"id":"topPort","group":"top"},{"id":"bottomPort","group":"bottom"}]},"id":"6b437370-0468-44da-a0bb-e637e33f3efb","data":{"label":"PySpark","status":"success","type":"script","id":"6b437370-0468-44da-a0bb-e637e33f3efb","paramText":"test PySpark Param","scriptText":"import pySpark\n\nprint('hello wolrd pySpark')","outputData":[{"outputVar":"r2"}],"inputNumber":1},"zIndex":3},{"position":{"x":40,"y":350},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"ports":{"groups":{"top":{"position":"top","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}},"bottom":{"position":"bottom","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}}},"items":[{"id":"topPort","group":"top"},{"id":"bottomPort","group":"bottom"}]},"id":"a372779f-1059-42bb-b2b9-93868bf22a89","data":{"label":"SQL","status":"undone","type":"script","id":"a372779f-1059-42bb-b2b9-93868bf22a89","scriptText":"","inputNumber":1},"zIndex":6},{"position":{"x":260,"y":150},"size":{"width":180,"height":80},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"ports":{"groups":{"top":{"position":"top","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}},"bottom":{"position":"bottom","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}}},"items":[{"id":"bottomPort","group":"bottom"}]},"id":"37dab35d-9421-4784-b39c-5c645b1312c8","data":{"label":"DataSource","status":"default","type":"datasource","id":"37dab35d-9421-4784-b39c-5c645b1312c8"},"zIndex":7},{"position":{"x":270,"y":450},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"ports":{"groups":{"top":{"position":"top","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}},"bottom":{"position":"bottom","attrs":{"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}}},"items":[{"id":"topPort","group":"top"},{"id":"bottomPort","group":"bottom"}]},"id":"2bc62ced-b29d-4937-a835-54c62b1d8c17","data":{"label":"PySpark","status":"undone","type":"script","id":"2bc62ced-b29d-4937-a835-54c62b1d8c17","scriptText":"","inputNumber":1},"zIndex":8}]}}