Zachary Bluhm
06/12/2023, 11:14 PMsandy
06/15/2023, 5:54 PMlaunchBackfillParams: {
partitionsByAsset: [
{
assetKey: {path: ["a", "b", "c"]},
partitions: {
range: {
start: "2022-02-01",
end: "2022-02-04",
}
}
}
]
}
sandy
06/15/2023, 5:55 PMpartitionByAsset
to is GrapheneLaunchBackfillParams
sandy
06/15/2023, 8:45 PM./python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_asset_backfill.py
sandy
06/15/2023, 8:47 PMcreate_and_launch_partition_backfill
inside ./python_modules/dagster-graphql/dagster_graphql/implementation/execution/backfill.py
contains the logic for turning the backfill params into an AssetBackfillData
objectsandy
06/16/2023, 4:27 PMRui Zhang
06/16/2023, 5:52 PMRui Zhang
06/16/2023, 5:59 PMsandy
06/16/2023, 9:16 PMHowever, we are not sure how the Dagster project RFC process work. So, may I ask does that actually mean a "go-ahead"?Not all RFCs mean "go-ahead", but I shared this one internally and everyone is onboard, so I'd say go ahead. We still need to decide on the precise-name, and that might take a week or two, but we can start with
BackfillStrategy
or something and do a find/replace.Rui Zhang
07/10/2023, 8:03 PMRui Zhang
07/10/2023, 8:16 PMRui Zhang
07/20/2023, 10:18 PMRui Zhang
07/22/2023, 2:52 PMRui Zhang
08/21/2023, 9:21 PMdagster._serdes.errors.SerializationError: Can only serialize whitelisted namedtuples, received BackfillPolicy(max_partitions_per_run=None).
Does it mean we have to put `@whitelist_for_serdes`decorator on the BackfillPolicy class?
https://github.com/dagster-io/dagster/blob/da23cb0c09b2cd0437b0ea2519dae76d61710a6[…]on_modules/dagster/dagster/_core/definitions/backfill_policy.py
Beside making another change to release it, is there other way to add this class to whitelist?Rui Zhang
08/25/2023, 6:37 PMdagster._check.CheckError: Invariant failed. Description: Did not submit run requests for all expected partitions
File "/usr/local/lib/python3.8/site-packages/dagster/_daemon/backfill.py", line 34, in execute_backfill_iteration
yield from execute_asset_backfill_iteration(
File "/usr/local/lib/python3.8/site-packages/dagster/_core/execution/asset_backfill.py", line 669, in execute_asset_backfill_iteration
for updated_asset_backfill_data in _submit_runs_and_update_backfill_in_chunks(
File "/usr/local/lib/python3.8/site-packages/dagster/_core/execution/asset_backfill.py", line 591, in _submit_runs_and_update_backfill_in_chunks
check.invariant(
File "/usr/local/lib/python3.8/site-packages/dagster/_check/__init__.py", line 1589, in invariant
raise CheckError(f"Invariant failed. Description: {desc}")
Rui Zhang
08/25/2023, 6:40 PMcheck.invariant
after the runs are executed, and it is not properly returning updated AssetBackfillData