新增删除逻辑

This commit is contained in:
沈健
2024-08-12 10:19:13 +08:00
parent 10f2e97cd2
commit 3bb8da4722
2 changed files with 95 additions and 1 deletions
+3 -1
View File
@@ -2,6 +2,8 @@ from airflow.operators.bash import BashOperator
import pendulum
from airflow import DAG
from dags.business.business.community import del_comm
with DAG(
dag_id="community_summary_dag",
# 每月2日1点整分运行
@@ -116,5 +118,5 @@ with DAG(
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/full_name.py {{dag_run.conf["city"] if "city" in dag_run.conf}}',
)
# 人均消费并行,值为空
comm >> price >> [avg_cost, total_price, relative_price_ranking, estate_charge_complete] >> total_price_complete >> consumption >> city_level_and_price_rating >> credit >> [estate_charge_ranking, price_rating, person_rating, percentile] >> sell >> trade >> [traffic, business_district, medical, life, education] >> education2 >> extra >> other \
del_comm >> comm >> price >> [avg_cost, total_price, relative_price_ranking, estate_charge_complete] >> total_price_complete >> consumption >> city_level_and_price_rating >> credit >> [estate_charge_ranking, price_rating, person_rating, percentile] >> sell >> trade >> [traffic, business_district, medical, life, education] >> education2 >> extra >> other \
>> full_name