add workflow 天润Smart-ccc会话数据,dev
This commit is contained in:
parent
089366a1ba
commit
f3dde159ff
|
@ -75,25 +75,6 @@ depends_on_past=False,
|
||||||
retries=3,
|
retries=3,
|
||||||
dag=dag)
|
dag=dag)
|
||||||
|
|
||||||
chat_messages_feign = SSHOperator(
|
|
||||||
ssh_hook=sshHook,
|
|
||||||
task_id='chat_messages_feign',
|
|
||||||
command='python3 /data/airflow/etl/API/chat_messages_feign.py',
|
|
||||||
depends_on_past=False,
|
|
||||||
retries=3,
|
|
||||||
dag=dag)
|
|
||||||
|
|
||||||
chat_messages_load = SSHOperator(
|
|
||||||
ssh_hook=sshHook,
|
|
||||||
task_id='chat_messages_load',
|
|
||||||
command='/data/airflow/etl/API/run_psql.sh {{ ds_nodash }} {{params.my_param }}',
|
|
||||||
params={'my_param':"chat_messages_load"},
|
|
||||||
depends_on_past=False,
|
|
||||||
retries=3,
|
|
||||||
dag=dag)
|
|
||||||
|
|
||||||
chat_messages_feign >> chat_messages_load
|
|
||||||
|
|
||||||
t01_ccc_chat_record = SSHOperator(
|
t01_ccc_chat_record = SSHOperator(
|
||||||
ssh_hook=sshHook,
|
ssh_hook=sshHook,
|
||||||
task_id='t01_ccc_chat_record',
|
task_id='t01_ccc_chat_record',
|
||||||
|
@ -115,4 +96,3 @@ chat_records_load >> tr_chat_messages_4800
|
||||||
tr_chat_records_2337 >> t01_ccc_chat_record
|
tr_chat_records_2337 >> t01_ccc_chat_record
|
||||||
tr_chat_messages_4800 >> t01_ccc_chat_message_detail
|
tr_chat_messages_4800 >> t01_ccc_chat_message_detail
|
||||||
t01_ccc_chat_message_detail >> task_failed
|
t01_ccc_chat_message_detail >> task_failed
|
||||||
chat_messages_load >> task_failed
|
|
||||||
|
|
Loading…
Reference in New Issue