Skip to content

Commit

Permalink
Correctly report record count of the promoted index, not the old one
Browse files Browse the repository at this point in the history
  • Loading branch information
stacimc committed Sep 5, 2024
1 parent 8f429ab commit bd57214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalog/dags/data_refresh/dag_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def create_data_refresh_dag(
# Note filtered_index must be directly upstream of promote_table to
# ensure that table promotion does not run if there was an error during reindexing
filtered_index >> [enable_alarms, promote_table]
promote_table >> [promote_index, promote_filtered_index, after_record_count]
after_record_count >> report_counts
promote_table >> [promote_index, promote_filtered_index]
promote_index >> after_record_count >> report_counts

return dag

Expand Down

0 comments on commit bd57214

Please sign in to comment.