add workflow 天润Smart-ccc会话数据,dev
This commit is contained in:
parent
8f9622a251
commit
fb8bd1696a
|
@ -147,6 +147,43 @@ params={'my_param':"cust_all_info_agi"},
|
||||||
depends_on_past=False,
|
depends_on_past=False,
|
||||||
retries=3,
|
retries=3,
|
||||||
dag=dag)
|
dag=dag)
|
||||||
|
chat_records_n_feign = SSHOperator(
|
||||||
|
ssh_hook=sshHook,
|
||||||
|
task_id='chat_records_n_feign',
|
||||||
|
command='python3 /data/airflow/etl/API/chat_records_n_feign.py',
|
||||||
|
depends_on_past=False,
|
||||||
|
retries=3,
|
||||||
|
dag=dag)
|
||||||
|
|
||||||
|
chat_records_n_load = SSHOperator(
|
||||||
|
ssh_hook=sshHook,
|
||||||
|
task_id='chat_records_n_load',
|
||||||
|
command='/data/airflow/etl/API/run_psql.sh {{ ds_nodash }} {{params.my_param }}',
|
||||||
|
params={'my_param':"chat_records_n_load"},
|
||||||
|
depends_on_past=False,
|
||||||
|
retries=3,
|
||||||
|
dag=dag)
|
||||||
|
|
||||||
|
chat_records_n_feign >> chat_records_n_load
|
||||||
|
|
||||||
|
tr_chat_messages_new_2443 = SSHOperator(
|
||||||
|
ssh_hook=sshHook,
|
||||||
|
task_id='tr_chat_messages_new_2443',
|
||||||
|
command='/data/airflow/etl/SA/run_sa.sh {{ ds_nodash }} {{ params.my_param }} >>/data/airflow/logs/run_psql_{{ds_nodash}}.log 2>&1 ',
|
||||||
|
params={'my_param':"S98_S_tr_chat_messages_new"},
|
||||||
|
depends_on_past=False,
|
||||||
|
retries=3,
|
||||||
|
dag=dag)
|
||||||
|
|
||||||
|
tr_chat_records_new_9594 = SSHOperator(
|
||||||
|
ssh_hook=sshHook,
|
||||||
|
task_id='tr_chat_records_new_9594',
|
||||||
|
command='/data/airflow/etl/SA/run_sa.sh {{ ds_nodash }} {{ params.my_param }} >>/data/airflow/logs/run_psql_{{ds_nodash}}.log 2>&1 ',
|
||||||
|
params={'my_param':"S98_S_tr_chat_records_new"},
|
||||||
|
depends_on_past=False,
|
||||||
|
retries=3,
|
||||||
|
dag=dag)
|
||||||
|
|
||||||
chat_records_load >> tr_chat_records_2337
|
chat_records_load >> tr_chat_records_2337
|
||||||
chat_records_load >> tr_chat_messages_4800
|
chat_records_load >> tr_chat_messages_4800
|
||||||
tr_chat_records_2337 >> t01_ccc_chat_record
|
tr_chat_records_2337 >> t01_ccc_chat_record
|
||||||
|
@ -160,4 +197,6 @@ cust_contact_mapping >> cust_contact_info
|
||||||
cust_contact_mapping >> cust_leads
|
cust_contact_mapping >> cust_leads
|
||||||
cust_leads >> cust_all_info
|
cust_leads >> cust_all_info
|
||||||
cust_contact_info >> cust_all_info
|
cust_contact_info >> cust_all_info
|
||||||
cust_all_info >> task_failed
|
chat_records_n_load >> tr_chat_messages_new_2443
|
||||||
|
chat_records_n_load >> tr_chat_records_new_9594
|
||||||
|
tr_chat_records_new_9594 >> task_failed
|
||||||
|
|
Loading…
Reference in New Issue