From 7e60e06c3faa8217454ae6e05ed728c7f1c5a5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=81=A5?= Date: Wed, 14 Aug 2024 18:08:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/jh/sample/samples_notice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/jh/sample/samples_notice.py b/dags/jh/sample/samples_notice.py index 6074c3e..ceeb28f 100644 --- a/dags/jh/sample/samples_notice.py +++ b/dags/jh/sample/samples_notice.py @@ -18,8 +18,8 @@ log.info(f"系统当前时间 : {now}") def proc(): # 区域维度,统计2个月内样本数据量 es206_client = ElasticSearchClient(host='192.168.0.206') - sql = 'select city,region,p_date,cat,root from seawater where cat = \'sell\' and p_date >=' + str( - last_day) + ' and p_date<' + str(now_day) + sql = 'select city,region,p_date,cat,root from seawater where cat = \'sell\' and p_date >=' + str(last_day) + ' and p_date<' + str(now_day) + log.info(f"城市区域维度 sql : {sql}") df = es206_client.scan_by_sql_to_data_frame(sql)