https://dagster.io/ logo
#ask-community
Title
# ask-community
d

Dimitris Stafylarakis

07/18/2022, 3:36 PM
hi all! had a question about schedules and partitioned jobs. I would like to schedule a job run daily and process the previous date’s partition e.g. if it runs today 18/7 it’d process partition key 2022-07-17. For manual runs I’d set the partition to the same date, so if the user wants to materialize partition 2022-07-17, that’s the partition he’d get. I could set the asset/job partition as e.g. run_date instead of data partition, but that is always confusing (looking at Airflow). Is it possible to somehow determine programmatically (e.g. in the context) whether the current job has been triggered manually or by the scheduler?
🤖 1
nevermind, I should read the docs more carefully 😄
2 Views