Skip to content

Airflow DAG for BigQuery Table Clones #723

@hunterpack

Description

@hunterpack

Description

Develop an Airflow DAG to automate the weekly refresh of the staging environment using BigQuery's CREATE TABLE CLONE functionality.

Tasks

  • Create dag_stellar_dbt_staging_refresh.py.
  • Implement the CREATE TABLE CLONE SQL logic to mirror production datasets into staging.
  • Add a schedule for Wednesday mornings (post-release).
  • Add workflow_dispatch to allow manual triggers via the Airflow UI.

Acceptance Criteria

  • Data in the staging dataset matches production at the time of cloning.
  • Storage costs for the staging dataset remain minimal.
  • The DAG is visible and triggerable by the data team in Airflow.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions