-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Question about TaskInstance.is_queueable #102
Comments
@mistercrunch can probably provide a more detailed explanation, but here is my take : The way our ETL is setup we use I hope this helps. |
I just added a note in the docs to clarify this here http://pythonhosted.org/airflow/scheduler.html:
Most likely you want to stamp your partitions with |
Got it, thanks! That's a bit different than I had planned to use it, but will modify my approach. |
* Add check for file path when extracting task location Signed-off-by: wslulciuc <[email protected]> * continued: Add check for file path when extracting task location Signed-off-by: wslulciuc <[email protected]> * Update message for task location error Signed-off-by: wslulciuc <[email protected]> * continued: Update message for task location error Signed-off-by: wslulciuc <[email protected]> * Add check for url building git url Signed-off-by: wslulciuc <[email protected]>
Would you mind clarifying the following condition in TaskInstance.is_queueable:
I would have expected:
Consider the use case of having a daily task. Let's suppose the task ran early this morning for 2015-07-01. However, the task failed for some reason. After fixing the issue, I go to backfill using a command such as:
As the code is currently written, the backfill will not execute, due to the conditional that I mention above. I could hack it to work by passing in yesterday's date to backfill and then using "{{ tomorrow_ds }}" in my tasks, but this seems like it shouldn't be necessary.
If you're okay with the above change, I'm happy to submit a PR. If I should be taking a different approach, please let me know. Thanks!
The text was updated successfully, but these errors were encountered: