Skip to content

Commit

Permalink
#66, #62 Update DAG task name
Browse files Browse the repository at this point in the history
  • Loading branch information
chmnata committed Oct 13, 2022
1 parent a469585 commit e83e277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dags/generate_congestion_agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ def is_day_one(date_to_pull):

# Task to aggregate segment level tt monthly
aggregate_seg_monthly = PostgresOperator(sql='''select congestion.generate_network_monthly('{{ macros.datetime.date(execution_date + macros.dateutil.relativedelta.relativedelta(months=-1, day=1)) }}');''',
task_id='aggregate_monthly',
task_id='aggregate_seg_monthly',
postgres_conn_id='congestion_bot',
autocommit=True,
retries = 0,
dag=dag)

# Task to aggregate centreline level tt monthly
aggregate_cent_monthly = PostgresOperator(sql='''select congestion.generate_centreline_monthly('{{ macros.datetime.date(execution_date + macros.dateutil.relativedelta.relativedelta(months=-1, day=1)) }}');''',
task_id='aggregate_monthly',
task_id='aggregate_cent_monthly',
postgres_conn_id='congestion_bot',
autocommit=True,
retries = 0,
Expand Down

0 comments on commit e83e277

Please sign in to comment.