[AIRFLOW-7075] Operators for storing information from GCS into GA (#7743)

10 files changed
tree: 2ae039567f128f4f4365770465ff64b5924ea7fd
  1. .github/
  2. airflow/
  3. backport_packages/
  4. common/
  5. dags/
  6. dev/
  7. docs/
  8. hooks/
  9. images/
  10. license-templates/
  11. licenses/
  12. manifests/
  13. requirements/
  14. scripts/
  15. tests/
  16. .asf.yaml
  17. .bash_completion
  18. .coveragerc
  19. .dockerignore
  20. .editorconfig
  21. .flake8
  22. .gitignore
  23. .hadolint.yaml
  24. .mailmap
  25. .pre-commit-config.yaml
  26. .rat-excludes
  27. .readthedocs.yml
  28. .travis.yml
  29. breeze
  30. breeze-complete
  31. BREEZE.rst
  32. CHANGELOG.txt
  33. confirm
  34. CONTRIBUTING.rst
  35. Dockerfile.ci
  36. INSTALL
  37. LICENSE
  38. LOCAL_VIRTUALENV.rst
  39. MANIFEST.in
  40. NOTICE
  41. pylintrc
  42. pytest.ini
  43. README.md
  44. setup.cfg
  45. setup.py
  46. STATIC_CODE_CHECKS.rst
  47. TESTING.rst
  48. UPDATING.md
  49. yamllint-config.yml
README.md

Apache Airflow

PyPI version Build Status Coverage Status Documentation Status License PyPI - Python Version Twitter Follow Slack Status

Apache Airflow (or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows.

When workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.

Use Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command line utilities make performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed.

Table of contents

Requirements

Apache Airflow is tested with:

Master version (2.0.0dev)

  • Python versions: 3.6, 3.7
  • Postgres DB: 9.6, 10
  • MySQL DB: 5.7
  • Sqlite - latest stable (it is used mainly for development purpose)

Stable version (1.10.9)

  • Python versions: 2.7, 3.5, 3.6, 3.7
  • Postgres DB: 9.6, 10
  • MySQL DB: 5.6, 5.7
  • Sqlite - latest stable (it is used mainly for development purpose)

Getting started

Please visit the Airflow Platform documentation (latest stable release) for help with installing Airflow, getting a quick start, or a more complete tutorial.

Documentation of GitHub master (latest development branch): ReadTheDocs Documentation

For further information, please visit the Airflow Wiki.

Beyond the Horizon

Airflow is not a data streaming solution. Tasks do not move data from one to the other (though tasks can exchange metadata!). Airflow is not in the Spark Streaming or Storm space, it is more comparable to Oozie or Azkaban.

Workflows are expected to be mostly static or slowly changing. You can think of the structure of the tasks in your workflow as slightly more dynamic than a database structure would be. Airflow workflows are expected to look similar from a run to the next, this allows for clarity around unit of work and continuity.

Principles

  • Dynamic: Airflow pipelines are configuration as code (Python), allowing for dynamic pipeline generation. This allows for writing code that instantiates pipelines dynamically.
  • Extensible: Easily define your own operators, executors and extend the library so that it fits the level of abstraction that suits your environment.
  • Elegant: Airflow pipelines are lean and explicit. Parameterizing your scripts is built into the core of Airflow using the powerful Jinja templating engine.
  • Scalable: Airflow has a modular architecture and uses a message queue to orchestrate an arbitrary number of workers.

User Interface

  • DAGs: Overview of all DAGs in your environment.

  • Tree View: Tree representation of a DAG that spans across time.

  • Graph View: Visualization of a DAG's dependencies and their current status for a specific run.

  • Task Duration: Total time spent on different tasks over time.

  • Gantt View: Duration and overlap of a DAG.

  • Code View: Quick way to view source code of a DAG.

Using hooks and Operators from “master” in Airflow 1.10

Currently stable versions of Apache Airflow are released in 1.10.* series. We are working on the future, major version of Airflow from the 2.0.* series. It is going to be released in in 2020. However the exact time of release depends on many factors and is yet unknown. We have already a lot of changes in the hooks/operators/sensors for many external systems and they are not used because they are part of the master/2.0 release.

In the Airflow 2.0 - following AIP-21 “change in import paths” all the non-core operators/hooks/sensors of Apache Airflow have been moved to the “airflow.providers” package. This opened a possibility to use the operators from Airflow 2.0 in Airflow 1.10 - with the constraint that those packages can only be used in python3.6+ environment.

Therefore we decided to prepare and release backport packages that can be installed for older Airflow versions. Those backport packages are released more frequently. Users do not have to upgrade their Airflow version to use those packages. There are a number of changes between Airflow 2.0 and 1.10.* - documented in UPDATING.md. With backported providers package users can migrate their DAGs to the new providers package incrementally and once they convert to the new operators/sensors/hooks they can seamlessly migrate their environments to Airflow 2.0.

More information about the status and releases of the back-ported packages are available at Backported providers package page

Dependencies between packages are stored in airflow/providers/dependencies.json. See CONTRIBUTING.rst

Contributing

Want to help build Apache Airflow? Check out our contributing documentation.

Who uses Apache Airflow?

As the Apache Airflow community grows, we'd like to keep track of who is using the platform. Please send a PR with your company name and @githubhandle if you may.

Currently officially using Airflow:

  1. 4G Capital [@posei]
  2. 6play [@lemourA, @achaussende, @d-nguyen, @julien-gm]
  3. 8fit [@nicor88, @frnzska]
  4. 90 Seconds [@aaronmak]
  5. 99 [@fbenevides, @gustavoamigo & @mmmaia]
  6. AdBOOST [AdBOOST]
  7. Adobe [@mishikaSingh, @ramandumcs, @vardancse]
  8. Agari [@r39132]
  9. Agoda [@akki]
  10. Airbnb [@mistercrunch, @artwr]
  11. AirDNA
  12. Airfinity [@sibowyer]
  13. Airtel [@harishbisht]
  14. Akamas [@GiovanniPaoloGibilisco, @lucacavazzana]
  15. Alan [@charles-go]
  16. allegro.pl [@kretes]
  17. AloPeyk [@blcksrx, @AloPeyk]
  18. AltX [@pedromduarte]
  19. AMPATH[@AMPATH, @fatmali]
  20. Apigee [@btallman]
  21. ARGO Labs [@California Data Collaborative]
  22. ARMEDANGELS [@swiffer]
  23. Arquivei [@arquivei]
  24. Arrive
  25. Asana [@chang, @dima-asana, @jdavidheiser, @ricardoandresrojas]
  26. Astronomer [@schnie, @ashb, @kaxil, @dimberman, @andriisoldatenko, @ryw, @andrewhharmon]
  27. Auth0 [@sicarul]
  28. Automattic [@anandnalya, @bperson, @khrol, @xyu]
  29. Away [@trunsky]
  30. Azri Solutions [@userimack]
  31. Bagelcode
  32. BalanceHero [@swalloow]
  33. Banco de Formaturas [@guiligan]
  34. BandwidthX [@dineshdsharma]
  35. Basetis
  36. BBM
  37. Beamly [@christopheralcock]
  38. Beeswax
  39. Bellhops
  40. BelugaDB [@fabio-nukui & @joao-sallaberry & @lucianoviola & @tmatuki]
  41. Betterment [@betterment]
  42. Bexs Bank [@felipefb & @ilarsen]
  43. BigQuant [@bigquant]
  44. Birdz by Veolia [@benjamingrenier]
  45. BlaBlaCar [@puckel & @wmorin]
  46. Blacklane [@serkef]
  47. Bloc [@dpaola2]
  48. Bloomberg [@dimberman]
  49. Blue Yonder [@blue-yonder]
  50. BlueApron [@jasonjho & @matthewdavidhauser]
  51. Bluecore [@JLDLaughlin]
  52. Bluekiri [@Bluekiri]
  53. Boda Telecom Suite - CE [@erssebaggala, @bodastage]
  54. Bodastage Solutions [@erssebaggala, @bodastage]
  55. Bombora Inc [@jeffkpayne, @pakelley, @dNavalta, @austynh, @TheOriginalAlex]
  56. Bonial International GmbH
  57. Bonnier Broadcasting [@wileeam]
  58. BounceX [@JoshFerge, @hudsonrio, @ronniekritou]
  59. Braintree [@coopergillan, @curiousjazz77, @raymondberg]
  60. Branch [@sdebarshi, @dmitrig01]
  61. Caesars Entertainment
  62. California Data Collaborative powered by ARGO Labs
  63. Capital One [@anoopengineer]
  64. Carbonite [@ajbosco]
  65. CarLabs [@sganz & @odannyc]
  66. CAVA [@minh5 & @patchus]
  67. Celect [@superdosh & @chadcelect]
  68. Censys [@zakird, @dadrian, & @andrewsardone]
  69. Change.org [@change, @vijaykramesh]
  70. Chartboost [@cgelman & @dclubb]
  71. Checkr [@tongboh]
  72. Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
  73. Cinimex DataLab [@kdubovikov]
  74. City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
  75. City of Toronto [@CityofToronto, @radumas]
  76. ciValue [@chencivalue, @YoavGaudin, @saleem-boshnak]
  77. Civey [@WesleyBatista]
  78. Clairvoyant [@shekharv]
  79. Classmethod, Inc. [@shoito]
  80. Cleartax [@anks & @codebuff]
  81. Clover Health [@gwax & @vansivallab]
  82. Colgate-Palmolive [@fhoda]
  83. Collectivehealth Inc. [@retornam]
  84. Compass [@wdhorton]
  85. ConnectWise [@jacobeturpin]
  86. ContaAzul [@bern4rdelli, @renanleme & @sabino]
  87. Cotap [@maraca & @richardchew]
  88. Craig@Work
  89. Crealytics
  90. Credit Karma [@preete-dixit-ck & @harish-gaggar-ck & @greg-finley-ck]
  91. Creditas [@dcassiano]
  92. CreditCards.com[@vmAggies & @jay-wallaby]
  93. Cryptalizer.com
  94. Custom Ink [@david-dalisay, @dmartin11 & @mpeteuil]
  95. Cyscale [@ocical]
  96. Dailymotion [@germaintanguy & @hc]
  97. Danamica [@testvinder]
  98. Data Reply [@kaxil]
  99. DataCamp [@dgrtwo]
  100. DataFox [@sudowork]
  101. Dentsu Inc. [@bryan831 & @loozhengyuan]
  102. Digital First Media [@duffn & @mschmo & @seanmuth]
  103. DigitalOcean [@ajbosco]
  104. Digitas Pixelpark [@feluelle]
  105. DoorDash
  106. Dotmodus [@dannylee12]
  107. Drivy [@AntoineAugusti]
  108. Easy Taxi [@caique-lima & @diraol]
  109. EllisDon [@d2kalra & @zbasama]
  110. Endesa [@drexpp]
  111. Enigma [@hydrosquall]
  112. Datamaran [@valexharo]
  113. Etsy [@mchalek]
  114. evo.company [@orhideous]
  115. Experity (formerly DocuTAP) [@cloneluke & @tobyjoliver]
  116. Fathom Health
  117. Firestone Inventing [@zihengCat]
  118. Flipp [@sethwilsonwishabi]
  119. Format [@format & @jasonicarter]
  120. FreeNow [@freenowtech]
  121. FreshBooks [@DinoCow]
  122. Freshworks [@shaikshakeel]
  123. FullContact
  124. Fuller, Inc. [@wutali & @sh-tech]
  125. Fundera [@andyxhadji]
  126. G Adventures [@chchtv11, @tgumbley, @tomwross]
  127. GameWisp [@tjbiii & @theryanwalls]
  128. Geekie [@wolney]
  129. GeneCards [@oferze]
  130. Gentner Lab [@neuromusic]
  131. Get Simpl [@rootcss]
  132. GitLab [@tayloramurphy & @m_walker]
  133. Glassdoor [@syvineckruyk & @sid88in]
  134. Global Fashion Group [@GFG]
  135. GoDataDriven [@BasPH, @danielvdende, @ffinfo, @Fokko, @gglanzani, @hgrif, @jrderuiter, @NielsZeilemaker]
  136. GovTech GDS [@chrissng & @datagovsg]
  137. Grab [@calvintran]
  138. Gradeup [@gradeup]
  139. Grand Rounds [@richddr, @timz1290, @wenever, & @runongirlrunon]
  140. Groupalia [@jesusfcr]
  141. Groupon [@stevencasey]
  142. Growbots[@exploy]
  143. GSN Games
  144. Gusto [@frankhsu]
  145. Handshake [@mhickman]
  146. Handy [@marcintustin / @mtustin-handy]
  147. happn [@pcorbel]
  148. HAVAN [@botbiz]
  149. HBC Digital [@tmccartan & @dmateusp]
  150. HBO[@yiwang]
  151. Healthjump [@miscbits]
  152. HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
  153. Hipages [@arihantsurana]
  154. Holimetrix [@thibault-ketterer]
  155. HomeToGo [@HomeToGo, @AurimasGr]
  156. Hootsuite
  157. Hostnfly [@CyrilLeMat & @pierrechopin & @alexisrosuel]
  158. HotelQuickly [@zinuzoid]
  159. Huq Industries [@huqindustries, @alepuccetti, @turbomerl]
  160. Iflix [@ChaturvediSulabh]
  161. IFTTT [@apurvajoshi]
  162. iHeartRadio[@yiwang]
  163. imgix [@dclubb]
  164. ING
  165. Instacart 🥕 [@arp1t & @code-sauce & @jasonlew & @j4p3 & @lubert & @mmontagna & @RyanAD &@zzadeh]
  166. Intercom [@fox & @paulvic]
  167. Interia
  168. Investorise [@svenvarkel]
  169. iS2.co [@iS2co]
  170. Jampp
  171. Jeitto [@BrennerPablo & @ds-mauri]
  172. Jetlore [@bderose]
  173. JobTeaser [@stefani75 & @knil-sama]
  174. JULO [@sepam & @tenapril & @verzqy]
  175. Kalibrr [@charlesverdad]
  176. Kargo [@chaithra-yenikapati, @akarsh3007 & @dineshanchan]
  177. Karmic [@hyw]
  178. King [@nathadfield]
  179. King Abdullah Petroleum Studies and Research Center(KAPSARC) [@saianupkumarp]
  180. Kiwi.com [@underyx]
  181. Kogan.com [@geeknam]
  182. Korbit [@jensenity]
  183. KPN B.V. [@biyanisuraj & @gmic]
  184. Kroton Educacional
  185. Lemann Foundation [@fernandosjp]
  186. LeMans Corporation [@alloydwhitlock] & [@tinyrye]
  187. LendUp [@lendup]
  188. LetsBonus [@jesusfcr & @OpringaoDoTurno]
  189. Liberty Global [@LibertyGlobal]
  190. liligo [@tromika]
  191. LingoChamp [@haitaoyao]
  192. Logitravel Group
  193. Los Angeles Times [@standyro]
  194. LokSuvidha [@saurabhwahile]
  195. Lucid [@jbrownlucid & @kkourtchikov]
  196. Lumos Labs [@rfroetscher & @zzztimbo]
  197. Lyft [@feng-tao, @milton0825, @astahlman, @youngyjd, @ArgentFalcon]
  198. M4U [@msantino]
  199. Madrone [@mbreining & @scotthb]
  200. Markovian [@al-xv, @skogsbaeck, @waltherg]
  201. Mercadoni [@demorenoc]
  202. Mercari [@yu-iskw]
  203. MFG Labs
  204. MiNODES [@dice89, @diazcelsa]
  205. Modernizing Medicine[@kehv1n, @dalupus]
  206. Multiply [@nrhvyc]
  207. National Bank of Canada [@brilhana]
  208. Neoway [@neowaylabs]
  209. Nerdwallet
  210. New Relic [@marcweil]
  211. Newzoo [@newzoo-nexus]
  212. NEXT Trucking [@earthmancash2, @kppullin]
  213. Nextdoor [@SivaPandeti, @zshapiro & @jthomas123]
  214. Nine [@TheZepto]
  215. OdysseyPrime [@davideberdin]
  216. OfferUp
  217. OneFineStay [@slangwald]
  218. Open Knowledge International @vitorbaptista
  219. Optum - UnitedHealthGroup [@hiteshrd]
  220. Outcome Health [@mikethoun, @rolandotribo]
  221. Overstock [@mhousley & @mct0006]
  222. OVH [@ncrocfer & @anthonyolea]
  223. Pagar.me [@pagarme]
  224. Palo Alto Networks [@PaloAltoNetworks]
  225. Pandora Media [@Acehaidrey & @wolfier]
  226. PayFit [@pcorbel]
  227. PAYMILL [@paymill & @matthiashuschle]
  228. PayPal [@r39132 & @jhsenjaliya]
  229. Pecan [@ohadmata]
  230. Pernod-Ricard [@romain-nio]
  231. Plaid [@plaid, @AustinBGibbons & @jeeyoungk]
  232. Playbuzz [@clintonboys & @dbn]
  233. PMC [@andrewm4894]
  234. Poshmark
  235. Postmates [@syeoryn]
  236. Premise [@jmccallum-premise]
  237. Pronto Tools [@zkan & @mesodiar]
  238. proton.ai [@prmsolutions]
  239. PubNub [@jzucker2]
  240. PXYData [@patchus]
  241. Qplum [@manti]
  242. Quantopian [@eronarn]
  243. Qubole [@msumit]
  244. Quizlet [@quizlet]
  245. Quora
  246. Rakuten
  247. Raízen [@rudlac & @guifneves]
  248. Rapido [@ChethanUK]
  249. REA Group
  250. Reddit [@reddit]
  251. Reverb[@reverbdotcom]
  252. Revolut [@sztanko & @nautilus28]
  253. Robinhood [@vineet-rh]
  254. Scaleway [@kdeldycke]
  255. Seasoned [@joshuacano] & [@mmyers] & [@tjward]
  256. Secret Escapes [@secretescapes]
  257. Semantics3 [@abishekk92]
  258. Sense360 [@kamilmroczek]
  259. Sentry.io [@tiopi]
  260. ShopBack [@shopback]
  261. Shopkick [@shopkick]
  262. Sidecar [@getsidecar]
  263. SimilarWeb [@similarweb]
  264. Skyscanner [@skyscanner]
  265. SmartNews [@takus]
  266. SnapTravel
  267. SocialCops [@vinayak-mehta & @sharky93]
  268. Société générale [@medmrgh & @s83]
  269. Spotahome [@spotahome]
  270. SpotHero [@benjigoldberg]
  271. Spotify [@znichols]
  272. Square
  273. Stackspace
  274. StoneCo [@lgwacker]
  275. Strava [@strava, @dhuang & @liamstewart]
  276. Stripe [@jbalogh]
  277. Strongmind [@tomchapin & @wongstein]
  278. Surfline [@jawang35]
  279. T2 Systems [@unclaimedpants]
  280. Tails.com [@alanmcruickshank]
  281. TEK [@telac]
  282. Telefonica Innovation Alpha [@Alpha-Health]
  283. Telia Company
  284. Ternary Data [@mhousley, @JoeReis]
  285. Tesla [@thoralf-gutierrez]
  286. The Home Depot[@apekshithr]
  287. THE ICONIC [@revathijay] [@ilikedata]
  288. Thinking Machines [@marksteve]
  289. Thinknear [@d3cay1, @ccson, & @ababian]
  290. ThoughtWorks [@sann3]
  291. Thumbtack [@natekupp]
  292. Tictail
  293. Tile [@ranjanmanish]
  294. Tinder [@kbendick]
  295. Tink [@tink-ab]
  296. TokenAnalyst [@simonohanlon101, @ankitchiplunkar, @sidshekhar, @sp6pe]
  297. Tokopedia [@topedmaria]
  298. Trocafone [@idontdomath & @gseva & @ordonezf & @PalmaLeandro]
  299. Twine Labs [@ivorpeles]
  300. Twitter [@aoen]
  301. Ubisoft [@Walkoss]
  302. Udacity [@dandikunited, @simon-uc]
  303. United Airlines [@ilopezfr]
  304. Upsight
  305. VeeR VR [@pishilong]
  306. Veikkaus [@hixus]
  307. Vente-Exclusive.com [@alexvanboxel]
  308. Vevo [@csetiawan & @jerrygillespie]
  309. Vidio
  310. Ville de Montréal@VilledeMontreal]
  311. Vnomics [@lpalum]
  312. Walmart Labs [@bharathpalaksha, @vipul007ravi]
  313. Waze [@waze]
  314. WePay [@criccomini & @mtagle]
  315. WeTransfer [@coredipper & @higee & @azclub]
  316. Whistle Labs [@ananya77041]
  317. Wildlifestudios
  318. WiseBanyan
  319. Wooga
  320. Wrike [@eliseealex & teoretic6]
  321. Xero [@yan9yu & adamantnz]
  322. Xoom
  323. Yahoo!
  324. Yieldr [@ggeorgiadis]
  325. Zapier [@drknexus & @statwonk]
  326. Zego [@ruimffl, @james-welly, @ken-payne]
  327. Zendesk
  328. Zenly [@cerisier & @jbdalido]
  329. Zymergen
  330. Zynga

Who Maintains Apache Airflow?

Airflow is the work of the community, but the core committers/maintainers are responsible for reviewing and merging PRs as well as steering conversation around new feature requests. If you would like to become a maintainer, please review the Apache Airflow committer requirements.

Can I use the Apache Airflow logo in my presentation?

Yes! Be sure to abide by the Apache Foundation trademark policies and the Apache Airflow Brandbook. The most up to date logos are found in this repo and on the Apache Software Foundation website.

Links