songquanhe-gitstudy opened a new pull request #2265: Origin/dev URL: https://github.com/apache/incubator-dolphinscheduler/pull/2265 ## *Tips* - *Thanks very much for contributing to Apache DolphinScheduler.* - *Please review https://dolphinscheduler.apache.org/en-us/community/index.html before opening a pull request.* ## What is the purpose of the pull request When running the sql task it reports an error: "No operations allowed after statement closed". After the change, the sql task can run normally. ## Brief change log Do not close it before the prepareStatement executes the query sql. ## Verify this pull request After the code is modified and the sql task is executed normally after testing, the following log: "[taskAppId = TASK-4-41-71]: [376]-prepare statement replace sql: com.mysql.jdbc.JDBC4PreparedStatement@462aef8a: select * from t_gs_group; [INFO] 2020-03-21 14: 59: 37.098 org.apache.dolphinscheduler.server.worker.runner.TaskScheduleThread: [160]-task instance id: 71, task final status: SUCCESS ”.
---------------------------------------------------------------- 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] With regards, Apache Git Services
