untitled.dag 8.8 KB

1
  1. {"user_name":"XXX","user_id":1,"nodes_task_name":"dfs","nodes_task_id":123,"itermidate_data":["hdfs://host:port/uri"],"nodes":[{"id":"c180bdb3-c29b-4c3f-9ca5-706aa7104144","name":"outputNode1","op":"datasource","data":{"output_source":[{"dataField":"name","dataType":"string"},{"dataField":"address","dataType":"string"}]}},{"id":"d8e031c0-f87c-445d-8451-eb8f7bf416cb","name":"inputNode1","op":"datasource","data":{"input_source":[{"dataSelect":false,"dataField":"name","dataType":"string"},{"dataSelect":true,"dataField":"address","dataType":"string"}],"input_table":5}},{"id":"8a23ea4a-f6f8-4234-8733-249798edfd9d","op":"sql","data":{"input_number":0,"output":[{"outputVar":"r1"}],"script":"/* 参考模板 */\nselect * from input0 where input0 = input0;\nselect * from input1 where input1 = input1\n"}},{"id":"696c3329-4c16-42ac-8b00-c78082caa7cb","op":"pyspark","data":{"input_number":2,"output":[],"script":""}},{"id":"d8577c32-8e94-4e14-8796-2d61563e6c35","op":"python","data":{"input_number":2,"output":[],"script":""}},{"id":"b2d5a260-aaba-4903-8442-ab6c2d5369f1","op":"sql","data":{"input_number":0,"output":[],"script":""}}],"edges":[{"id":"d6ec13bd-1feb-4394-ace7-973874600b4a","source":"d8e031c0-f87c-445d-8451-eb8f7bf416cb","target":"c180bdb3-c29b-4c3f-9ca5-706aa7104144"},{"id":"c66befaa-e861-41ce-a425-138c6b27fe81","source":"8a23ea4a-f6f8-4234-8733-249798edfd9d","target":"d8577c32-8e94-4e14-8796-2d61563e6c35"},{"id":"75607834-8b4a-42bc-a28b-0c484b9f402f","source":"d8e031c0-f87c-445d-8451-eb8f7bf416cb","target":"d8577c32-8e94-4e14-8796-2d61563e6c35"}],"graph":{"cells":[{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"d6ec13bd-1feb-4394-ace7-973874600b4a","zIndex":-1,"source":{"cell":"d8e031c0-f87c-445d-8451-eb8f7bf416cb","port":"bottomPort"},"target":{"cell":"c180bdb3-c29b-4c3f-9ca5-706aa7104144","port":"topPort"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"c66befaa-e861-41ce-a425-138c6b27fe81","zIndex":-1,"source":{"cell":"8a23ea4a-f6f8-4234-8733-249798edfd9d","port":"r1"},"target":{"cell":"d8577c32-8e94-4e14-8796-2d61563e6c35","port":"input0"}},{"shape":"dag-edge","attrs":{"line":{"strokeDasharray":""}},"id":"75607834-8b4a-42bc-a28b-0c484b9f402f","zIndex":-1,"source":{"cell":"d8e031c0-f87c-445d-8451-eb8f7bf416cb","port":"bottomPort"},"target":{"cell":"d8577c32-8e94-4e14-8796-2d61563e6c35","port":"input1"}},{"position":{"x":350,"y":530},"size":{"width":180,"height":80},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"portMarkup":[{"tagName":"foreignObject","selector":"fo","children":[{"ns":"http://www.w3.org/1999/xhtml","tagName":"body","selector":"foBody","attrs":{"xmlns":"http://www.w3.org/1999/xhtml"},"style":{"width":"100%","height":"100%","background":"transparent"},"children":[{"tagName":"div","selector":"foContent","style":{"width":"100%","height":"100%"}}]}]}],"ports":{"groups":{"top":{"position":"top","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"},"circle":{"r":4,"magnet":true,"stroke":"#C2C8D5","strokeWidth":1,"fill":"#fff"}}},"bottom":{"position":"bottom","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"},"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":"outputNode1","outputSource":[{"dataField":"name","dataType":"string"},{"dataField":"address","dataType":"string"}],"inputNumber":0},"zIndex":7},{"position":{"x":470,"y":130},"size":{"width":180,"height":80},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"portMarkup":[{"tagName":"foreignObject","selector":"fo","children":[{"ns":"http://www.w3.org/1999/xhtml","tagName":"body","selector":"foBody","attrs":{"xmlns":"http://www.w3.org/1999/xhtml"},"style":{"width":"100%","height":"100%","background":"transparent"},"children":[{"tagName":"div","selector":"foContent","style":{"width":"100%","height":"100%"}}]}]}],"ports":{"groups":{"top":{"position":"top","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}},"bottom":{"position":"bottom","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}}},"items":[{"id":"bottomPort","group":"bottom"}]},"id":"d8e031c0-f87c-445d-8451-eb8f7bf416cb","data":{"label":"InputSource","status":"default","type":"datasource","id":"d8e031c0-f87c-445d-8451-eb8f7bf416cb","nodeName":"inputNode1","dataTable":5,"inputSource":[{"dataSelect":false,"dataField":"name","dataType":"string"},{"dataSelect":true,"dataField":"address","dataType":"string"}]},"zIndex":8},{"position":{"x":60,"y":150},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"portMarkup":[{"tagName":"foreignObject","selector":"fo","children":[{"ns":"http://www.w3.org/1999/xhtml","tagName":"body","selector":"foBody","attrs":{"xmlns":"http://www.w3.org/1999/xhtml"},"style":{"width":"100%","height":"100%","background":"transparent"},"children":[{"tagName":"div","selector":"foContent","style":{"width":"100%","height":"100%"}}]}]}],"ports":{"groups":{"top":{"position":"top","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}},"bottom":{"position":"bottom","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}}},"items":[{"group":"bottom","id":"r1"}]},"id":"8a23ea4a-f6f8-4234-8733-249798edfd9d","data":{"label":"sql","status":"undone","type":"script","id":"8a23ea4a-f6f8-4234-8733-249798edfd9d","scriptText":"/* 参考模板 */\nselect * from input0 where input0 = input0;\nselect * from input1 where input1 = input1\n","outputData":[{"outputVar":"r1"}],"inputNumber":0},"zIndex":9},{"position":{"x":550,"y":420},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"portMarkup":[{"tagName":"foreignObject","selector":"fo","children":[{"ns":"http://www.w3.org/1999/xhtml","tagName":"body","selector":"foBody","attrs":{"xmlns":"http://www.w3.org/1999/xhtml"},"style":{"width":"100%","height":"100%","background":"transparent"},"children":[{"tagName":"div","selector":"foContent","style":{"width":"100%","height":"100%"}}]}]}],"ports":{"groups":{"top":{"position":"top","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}},"bottom":{"position":"bottom","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}}},"items":[{"group":"top","id":"input0"},{"group":"top","id":"input1"}]},"id":"696c3329-4c16-42ac-8b00-c78082caa7cb","data":{"label":"pyspark","status":"undone","type":"script","id":"696c3329-4c16-42ac-8b00-c78082caa7cb","scriptText":"","outputData":[],"inputNumber":2},"zIndex":10},{"position":{"x":70,"y":430},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"portMarkup":[{"tagName":"foreignObject","selector":"fo","children":[{"ns":"http://www.w3.org/1999/xhtml","tagName":"body","selector":"foBody","attrs":{"xmlns":"http://www.w3.org/1999/xhtml"},"style":{"width":"100%","height":"100%","background":"transparent"},"children":[{"tagName":"div","selector":"foContent","style":{"width":"100%","height":"100%"}}]}]}],"ports":{"groups":{"top":{"position":"top","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}},"bottom":{"position":"bottom","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}}},"items":[{"group":"top","id":"input0"},{"group":"top","id":"input1"}]},"id":"d8577c32-8e94-4e14-8796-2d61563e6c35","data":{"label":"python","status":"undone","type":"script","id":"d8577c32-8e94-4e14-8796-2d61563e6c35","scriptText":"","outputData":[],"inputNumber":2},"zIndex":11},{"position":{"x":300,"y":370},"size":{"width":180,"height":36},"view":"react-shape-view","shape":"dag-node","component":{"key":null,"ref":null,"props":{},"_owner":null,"_store":{}},"portMarkup":[{"tagName":"foreignObject","selector":"fo","children":[{"ns":"http://www.w3.org/1999/xhtml","tagName":"body","selector":"foBody","attrs":{"xmlns":"http://www.w3.org/1999/xhtml"},"style":{"width":"100%","height":"100%","background":"transparent"},"children":[{"tagName":"div","selector":"foContent","style":{"width":"100%","height":"100%"}}]}]}],"ports":{"groups":{"top":{"position":"top","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}},"bottom":{"position":"bottom","attrs":{"fo":{"width":10,"height":10,"x":-5,"y":-5,"magnet":"true"}}}},"items":[]},"id":"b2d5a260-aaba-4903-8442-ab6c2d5369f1","data":{"label":"sql","status":"undone","type":"script","id":"b2d5a260-aaba-4903-8442-ab6c2d5369f1","scriptText":"","outputData":[],"inputNumber":0},"zIndex":12}]}}