Commit 5dd2a6da authored by 吴升宇's avatar 吴升宇

update materialized_tagrel_view

parent 3536e6fc
......@@ -29,6 +29,7 @@ sql2 = 'refresh materialized view concurrently materialized_hospital_view'
sql3 = 'refresh materialized view concurrently materialized_plan_view'
sql4 = 'refresh materialized view concurrently materialized_tag_view'
sql5 = 'refresh materialized view concurrently materialized_consult_view'
sql6 = 'refresh materialized view concurrently materialized_tagrel_view'
t1: PostgresOperator = PostgresOperator(
task_id='psql_reflush_per_minute_task_001',
......@@ -58,10 +59,16 @@ t4 = PostgresOperator(
dag=dag,
database='pims')
t5 = PostgresOperator(
task_id='psql_reflush_per_minute_task_05',
postgres_conn_id='postgres-test',
sql=sql5,
dag=dag,
database='pims')
t6 = PostgresOperator(
task_id='psql_reflush_per_minute_task_06',
postgres_conn_id='postgres-test',
sql=sql6,
dag=dag,
database='pims')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment