{"id":6876,"date":"2017-06-18T22:40:58","date_gmt":"2017-06-19T03:40:58","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=6876"},"modified":"2020-08-12T22:47:42","modified_gmt":"2020-08-13T03:47:42","slug":"apache-airflow-no-backfill","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=6876","title":{"rendered":"Apache Airflow &#8212; No Backfill"},"content":{"rendered":"<p>A lot of software seems to be designed to save the user from themselves. This is great 90% of the time when you mess up and really <em>want<\/em> their help (or when the software&#8217;s help is cosmetic &#8230; my gripe against auto-correcting smart quotes, as an example). But I seem to fall into the other 10% a lot. And I mean a LOT. Apache Airflow jobs try to grab new information all.of.the.time. It&#8217;s a feature called &#8220;backfill&#8221;, and I&#8217;m sure it helps all sorts of people do exactly what they really wanted done. Not me \ud83d\ude41<\/p>\n<p>Having updated to 1.8, though, I now see a <a href=\"https:\/\/github.com\/apache\/airflow\/blob\/master\/UPDATING.md#catchup_by_default\" target=\"_blank\" rel=\"noopener noreferrer\">configuration parameter to instruct a DAG <em>not<\/em> to do me any favors<\/a>. Just do what you&#8217;re asked when you&#8217;re asked to do it: catchup = False<\/p>\n<pre>DAG('testjob', default_args=default_args, schedule_interval='0 * * * *', catchup=False)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A lot of software seems to be designed to save the user from themselves. This is great 90% of the time when you mess up and really want their help (or when the software&#8217;s help is cosmetic &#8230; my gripe against auto-correcting smart quotes, as an example). But I seem to fall into the other &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[1082,31,1083,1084],"class_list":["post-6876","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-airflow","tag-apache","tag-apache-airflow","tag-dag-backfill"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/6876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6876"}],"version-history":[{"count":2,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/6876\/revisions"}],"predecessor-version":[{"id":6878,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/6876\/revisions\/6878"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}