1445103710 commented on issue #2513:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/2513#issuecomment-618869210


   ```json
   {
        "globalParams": [{
                "prop": "yaoyao",
                "direct": "IN",
                "type": "VARCHAR",
                "value": "111"
        }],
        "tasks": [{
                "type": "SHELL",
                "id": "tasks-79944",
                "name": "测试shell命令",
                "params": {
                        "resourceList": [],
                        "localParams": [],
                        "rawScript": "echo 1111"
                },
                "description": "",
                "runFlag": "NORMAL",
                "conditionResult": {
                        "successNode": [""],
                        "failedNode": [""]
                },
                "dependence": {},
                "maxRetryTimes": "0",
                "retryInterval": "1",
                "timeout": {
                        "strategy": "",
                        "interval": null,
                        "enable": false
                },
                "taskInstancePriority": "MEDIUM",
                "workerGroup": "default",
                "preTasks": []
        }, {
                "type": "PYTHON",
                "id": "tasks-20302",
                "name": "测试python",
                "params": {
                        "resourceList": [],
                        "localParams": [],
                        "rawScript": "print(222)"
                },
                "description": "",
                "runFlag": "NORMAL",
                "conditionResult": {
                        "successNode": [""],
                        "failedNode": [""]
                },
                "dependence": {},
                "maxRetryTimes": "0",
                "retryInterval": "1",
                "timeout": {
                        "strategy": "",
                        "interval": null,
                        "enable": false
                },
                "taskInstancePriority": "MEDIUM",
                "workerGroup": "default",
                "preTasks": ["测试shell命令"]
        }, {
                "type": "HTTP",
                "id": "tasks-23734",
                "name": "测试http",
                "params": {
                        "localParams": [],
                        "httpParams": [],
                        "url": "http://www.baidu.com";,
                        "httpMethod": "GET",
                        "httpCheckCondition": "STATUS_CODE_DEFAULT",
                        "condition": ""
                },
                "description": "",
                "runFlag": "NORMAL",
                "conditionResult": {
                        "successNode": [""],
                        "failedNode": [""]
                },
                "dependence": {},
                "maxRetryTimes": "0",
                "retryInterval": "1",
                "timeout": {
                        "strategy": "",
                        "interval": null,
                        "enable": false
                },
                "taskInstancePriority": "MEDIUM",
                "workerGroup": "default",
                "preTasks": ["测试python"]
        }, {
                "type": "SHELL",
                "id": "tasks-36312",
                "name": "打印图形",
                "params": {
                        "resourceList": [{
                                "id": 2,
                                "name": "three.sh",
                                "res": "test/three.sh"
                        }],
                        "localParams": [],
                        "rawScript": "sh test/three.sh"
                },
                "description": "",
                "runFlag": "NORMAL",
                "conditionResult": {
                        "successNode": [""],
                        "failedNode": [""]
                },
                "dependence": {},
                "maxRetryTimes": "0",
                "retryInterval": "1",
                "timeout": {
                        "strategy": "",
                        "interval": null,
                        "enable": false
                },
                "taskInstancePriority": "MEDIUM",
                "workerGroup": "default",
                "preTasks": ["测试http"]
        }, {
                "type": "SQL",
                "id": "tasks-90358",
                "name": "mysql",
                "params": {
                        "type": "MYSQL",
                        "datasource": 2,
                        "sql": "select * from market_gold LIMIT 1",
                        "udfs": "",
                        "sqlType": "0",
                        "title": "111",
                        "receivers": "[email protected]",
                        "receiversCc": "",
                        "showType": "TABLE",
                        "localParams": [],
                        "connParams": "",
                        "preStatements": [],
                        "postStatements": []
                },
                "description": "",
                "runFlag": "NORMAL",
                "conditionResult": {
                        "successNode": [""],
                        "failedNode": [""]
                },
                "dependence": {},
                "maxRetryTimes": "0",
                "retryInterval": "1",
                "timeout": {
                        "strategy": "",
                        "interval": null,
                        "enable": false
                },
                "taskInstancePriority": "MEDIUM",
                "workerGroup": "default",
                "preTasks": []
        }],
        "tenantId": 1,
        "timeout": 0
   }
   ```
   
   we can see ,when we save Dag the mysql  preTasks is empty.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to