dag调整
This commit is contained in:
@@ -58,14 +58,18 @@ with DAG(
|
|||||||
task_id='relative_price_ranking',
|
task_id='relative_price_ranking',
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/relative_price_ranking.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/relative_price_ranking.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
||||||
)
|
)
|
||||||
|
t10_1 = BashOperator(
|
||||||
|
task_id='estate_charge_complete',
|
||||||
|
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/estate_charge_complete.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
||||||
|
)
|
||||||
|
t10_2 = BashOperator(
|
||||||
|
task_id='estate_charge_ranking',
|
||||||
|
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/estate_charge_ranking.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
||||||
|
)
|
||||||
t11 = BashOperator(
|
t11 = BashOperator(
|
||||||
task_id='consumption',
|
task_id='consumption',
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/consumption.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/consumption.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
||||||
)
|
)
|
||||||
t11_1 = BashOperator(
|
|
||||||
task_id='estate_charge_ranking',
|
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/estate_charge_ranking.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
|
||||||
)
|
|
||||||
t12 = BashOperator(
|
t12 = BashOperator(
|
||||||
task_id='price_rating',
|
task_id='price_rating',
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/price_rating.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/price_rating.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
||||||
@@ -86,4 +90,4 @@ with DAG(
|
|||||||
task_id='other',
|
task_id='other',
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/other.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/other.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
|
||||||
)
|
)
|
||||||
t1 >> t2 >> t3 >> t4 >> t5 >> t6 >> t6_1 >> t7 >> t7_1 >> t8 >> t9 >> t10 >> t11 >> t11_1 >> t12 >> t13 >> t14 >> t15 >> t16
|
t1 >> t2 >> t3 >> t4 >> t5 >> t6 >> t6_1 >> t7 >> t7_1 >> t8 >> t9 >> t10 >> t10_1 >> t10_2 >> t11 >> t12 >> t13 >> t14 >> t15 >> t16
|
||||||
|
|||||||
Reference in New Issue
Block a user