Skip to content

Fixing assert on backfillStartDate #940

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

krisnaru
Copy link
Contributor

@krisnaru krisnaru commented Mar 11, 2025

Summary

Enable overrideStartPartition when backfillStartDate is not passed, for more details #939

Why / Goal

This will help airflow DAG to run everyday without specifying it from Feature definition

Test Plan

  • Added Unit Tests
  • Covered by existing CI
  • Integration tested

Checklist

  • Documentation update

Reviewers

@pengyu-hou @caiocamatta-stripe @piyush-zlai

groupByConf.backfillStartDate != null || overrideStartPartition != null,
s"GroupBy:${groupByConf.metaData.name} has null backfillStartDate or overrideStartPartition." +
s" This needs to be set for offline backfilling."
)
groupByConf.setups.foreach(tableUtils.sql)
val overrideStart = overrideStartPartition.getOrElse(groupByConf.backfillStartDate)
Copy link
Collaborator

Choose a reason for hiding this comment

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

So the group by backfill start date is meant for DAG and task scheduling purpose. If there is no such parameter, we should not even enter the group by backfill mode.

And the start partition override is implemented at line 694 already.

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.

3 participants