fgdsfgfdsgdsfgsdfg commented on issue #679:
URL: 
https://github.com/apache/dolphinscheduler/issues/679#issuecomment-2475935425

   can we use the method to cancel Statement like this 
   `
   public static void cancel(String id) throws SQLException {
           Statement statement = ID_STATEMENT.get(id);
           // 若查询正在执行,调用 cancel() 方法进行取消
           if (statement != null) {
               statement.cancel();
           }
       }
   
       public static void add(String id, Statement statement) {
           ID_STATEMENT.put(id, statement);
       }
   
       public static void remove(String id) {
           ID_STATEMENT.remove(id);
       }
   `


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to