Skip to content

Commit

Permalink
#1104 add here path table creation task
Browse files Browse the repository at this point in the history
  • Loading branch information
chmnata committed Dec 2, 2024
1 parent 705eb0f commit 06ba4da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dags/eoy_create_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ def insert_holidays(yr=None):
sql="SELECT here.create_yearly_tables('{{ task_instance.xcom_pull('yr') }}')",
postgres_conn_id='here_bot',
autocommit=True)
here_path_create_tables = PostgresOperator(
task_id='here_path_create_tables',
sql="SELECT here.create_yearly_tables_path('{{ task_instance.xcom_pull('yr') }}')",
postgres_conn_id='here_bot',
autocommit=True)

bt_create_tables = PostgresOperator(
task_id='bluetooth_create_tables',
Expand All @@ -94,6 +99,7 @@ def insert_holidays(yr=None):
bt_replace_trigger(yr=YR)
insert_holidays(yr=YR)
here_create_tables
here_path_create_tables
bt_create_tables
congestion_create_table

Expand Down

0 comments on commit 06ba4da

Please sign in to comment.