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)