You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java
+18-9Lines changed: 18 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -180,6 +180,7 @@ public void executeFuncAndSql(List<SqlBinds> mainStatementsBinds,
180
180
List<String> createFuncs) throwsException {
181
181
Connectionconnection = null;
182
182
ResultSetresultSet = null;
183
+
PreparedStatementstatement = null;
183
184
try {
184
185
185
186
// create connection
@@ -196,8 +197,10 @@ public void executeFuncAndSql(List<SqlBinds> mainStatementsBinds,
196
197
Stringresult = null;
197
198
// decide whether to executeQuery or executeUpdate based on sqlType
198
199
if (sqlParameters.getSqlType() == SqlType.QUERY.ordinal()) {
199
-
// query statements need to be convert to JsonArray and inserted into Alert to send
0 commit comments