From cebc9c893c81b74de4370a88e9ec1f12593f12b6 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Thu, 9 Dec 2021 18:08:07 +0800 Subject: [PATCH] 21.12 update --- TSG发布版本更新记录/TSG-21.12/druid/update-druid-2112.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 TSG发布版本更新记录/TSG-21.12/druid/update-druid-2112.sql diff --git a/TSG发布版本更新记录/TSG-21.12/druid/update-druid-2112.sql b/TSG发布版本更新记录/TSG-21.12/druid/update-druid-2112.sql new file mode 100644 index 0000000..f7a4fe4 --- /dev/null +++ b/TSG发布版本更新记录/TSG-21.12/druid/update-druid-2112.sql @@ -0,0 +1,5 @@ +# 更新的时候,先停掉之前的任务,然后执行sql,最后再提交新任务 + +DELETE FROM druid.druid_pendingsegments WHERE dataSource = 'traffic_app_stat_log'; + +DELETE FROM druid.druid_datasource WHERE dataSource = 'traffic_app_stat_log'; \ No newline at end of file