1 |
- {"user_name":"XXX","user_id":1,"project_name":"dfs","project_id":123,"itermidate_data":["hdfs://host:port/uri"],"nodes":[{"id":"77a6e831-bb62-42e1-be8d-97699db00e73","name":"sourceNode1","op":"datasource","data":{"input_source":[{"dataSelect":true,"dataField":"name","dataType":"string"},{"dataSelect":true,"dataField":"address","dataType":"string"}],"input_table":5}},{"id":"b8e59cb0-84fc-41c8-9e0b-35c36715756b","name":"pythonNode1","op":"script","data":{"input":1,"output":[{"outputVar":"r1"}],"script":"import test\nprint('hello world')"}},{"id":"3a3ac495-5529-4418-83d9-db5266ca4440","name":"PySparkNode1","op":"script","data":{"input":1,"output":[{"outputVar":"r1"}],"script":"import pySpark\nprint('hello wolrd pySpark')","param":"test PySpark Param"}},{"id":"63979367-e883-47cc-99d1-ed2e38885052","name":"SQLNode1","op":"script","data":{"input":1,"output":[{"outputVar":"r3"}],"script":"Select * from table11","param":"test SQL Param"}},{"id":"c180bdb3-c29b-4c3f-9ca5-706aa7104144","name":"outputNode","op":"outputsource","data":{"input":null}}],"edges":[{"id":"427eec14-d805-4c88-bab9-28a64c9f914d","source":"77a6e831-bb62-42e1-be8d-97699db00e73","target":"b8e59cb0-84fc-41c8-9e0b-35c36715756b"},{"id":"d75a529e-a257-4849-b055-04ff2d138d40","source":"77a6e831-bb62-42e1-be8d-97699db00e73","target":"3a3ac495-5529-4418-83d9-db5266ca4440"},{"id":"cb627e95-aa70-4c7b-bf6b-e1e874804c14","source":"77a6e831-bb62-42e1-be8d-97699db00e73","target":"63979367-e883-47cc-99d1-ed2e38885052"},{"id":"3a8c75c2-78dd-41f8-af13-97dc7164a8e1","source":"3a3ac495-5529-4418-83d9-db5266ca4440","target":"c180bdb3-c29b-4c3f-9ca5-706aa7104144"}],"graph":{"cells":[{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":"","style":{"animation":""}}},"id":"427eec14-d805-4c88-bab9-28a64c9f914d","zIndex":-1,"source":{"cell":"77a6e831-bb62-42e1-be8d-97699db00e73","port":"bottomPort"},"target":{"cell":"b8e59cb0-84fc-41c8-9e0b-35c36715756b","port":"topPort"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"d75a529e-a257-4849-b055-04ff2d138d40","zIndex":-1,"source":{"cell":"77a6e831-bb62-42e1-be8d-97699db00e73","port":"bottomPort"},"target":{"cell":"3a3ac495-5529-4418-83d9-db5266ca4440","port":"topPort"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"cb627e95-aa70-4c7b-bf6b-e1e874804c14","zIndex":-1,"source":{"cell":"77a6e831-bb62-42e1-be8d-97699db00e73","port":"bottomPort"},"target":{"cell":"63979367-e883-47cc-99d1-ed2e38885052","port":"topPort"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"3a8c75c2-78dd-41f8-af13-97dc7164a8e1","zIndex":-1,"source":{"cell":"3a3ac495-5529-4418-83d9-db5266ca4440","port":"bottomPort"},"target":{"cell":"c180bdb3-c29b-4c3f-9ca5-706aa7104144","port":"topPort"}},{"position":{"x":250,"y":130},"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":"77a6e831-bb62-42e1-be8d-97699db00e73","data":{"label":"DataSource","status":"default","type":"datasource","id":"77a6e831-bb62-42e1-be8d-97699db00e73","inputSource":[{"dataSelect":true,"dataField":"name","dataType":"string"},{"dataSelect":true,"dataField":"address","dataType":"string"}],"dataTable":5,"nodeName":"sourceNode1"},"zIndex":1},{"position":{"x":-40,"y":320},"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":"b8e59cb0-84fc-41c8-9e0b-35c36715756b","data":{"label":"Python","status":"success","type":"script","id":"b8e59cb0-84fc-41c8-9e0b-35c36715756b","nodeName":"pythonNode1","scriptText":"import test\nprint('hello world')","outputData":[{"outputVar":"r1"}],"inputNumber":1},"zIndex":4},{"position":{"x":220,"y":310},"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":"3a3ac495-5529-4418-83d9-db5266ca4440","data":{"label":"PySpark","status":"undone","type":"script","id":"3a3ac495-5529-4418-83d9-db5266ca4440","paramText":"test PySpark Param","nodeName":"PySparkNode1","scriptText":"import pySpark\nprint('hello wolrd pySpark')","outputData":[{"outputVar":"r1"}],"inputNumber":1},"zIndex":5},{"position":{"x":460,"y":340},"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":"63979367-e883-47cc-99d1-ed2e38885052","data":{"label":"SQL","status":"undone","type":"script","id":"63979367-e883-47cc-99d1-ed2e38885052","paramText":"test SQL Param","nodeName":"SQLNode1","scriptText":"Select * from table11","outputData":[{"outputVar":"r3"}],"inputNumber":1},"zIndex":6},{"position":{"x":250,"y":470},"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":"topPort","group":"top"}]},"id":"c180bdb3-c29b-4c3f-9ca5-706aa7104144","data":{"label":"OutputSource","status":"default","type":"outputsource","id":"c180bdb3-c29b-4c3f-9ca5-706aa7104144","nodeName":"outputNode","outputSource":[{"dataField":"name","dataType":"string"},{"dataField":"address","dataType":"string"}],"inputNumber":null},"zIndex":7}]}}
|