feat(query-backfill): adding a more flexible approach to overriding scheduling attributes #5540
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR further expands on allowing for overrides to scheduling attributes when running the
bqetl query backfill
command. bqetl gives developers the ability to setdate_partition_parameter
to null and manage partitioning manually via the destination table. This make is impossible to use the backfill dagbqetl_backfill
because if this parameter is null, it will blow away the whole table.For this query: https://github.com/mozilla/private-bigquery-etl/blob/main/sql/moz-fx-data-shared-prod/ads_derived/tiles_addressable_inventory_hourly_v1/metadata.yaml, we need to be able to re-process a whole days worth of data and override the partition or add a new one.
This change would allow us to run a backfill on a query like this with attributes that activate proper daily backfill processing, yet still have the custom logic for the ongoing task runs.
This work will eventually close: #5364
Checklist for reviewer:
<username>:<branch>
of the fork as parameter. The parameter will also show upin the logs of the
manual-trigger-required-for-fork
CI task together with more detailed instructions.For modifications to schemas in restricted namespaces (see
CODEOWNERS
):┆Issue is synchronized with this Jira Task