Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove annual_database_service models and manual scrape process #3524

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

erikamov
Copy link
Contributor

@erikamov erikamov commented Nov 1, 2024

Description

As part of deprecating old NTD tables for #3497 this PR is removing the annual_database_service models and data deprecate process that was replaced by external_ntd__annual_reporting new models:

  • dim_annual_service_agencies
  • dim_annual_service_mode_time_periods
  • fct_annual_service_modes

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

No references of removed tables on cal-itp repo was found that could give a dependency error.
Executed locally create_external_tables DAG without any error.
Run scrape_ntd.py for a different product successfully.

Post-merge follow-ups

  • No action required
  • Actions required (specified below)

Drop the following tables from cal-itp-data-infra.

  • external_ntd_data_products.annual_database_service
  • stg_ntd__annual_database_service

Delete folders from calitp-ntd-data-products bucket:
* annual-database-service_raw
* annual-database-service

Copy link
Member

@tiffanychu90 tiffanychu90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Replaced by external_ntd__annual_reporting and new models:
- dim_annual_service_agencies
- dim_annual_service_mode_time_periods
- fct_annual_service_modes

[#3497]
@erikamov erikamov merged commit 53b2663 into main Nov 5, 2024
4 checks passed
@erikamov erikamov deleted the 3497-deprecate-ntd-tables branch November 5, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants