You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/28 07:19:23 UTC

[GitHub] [airflow] Sanchit112 commented on a change in pull request #16084: Added new pipeline example for the tutorial docs (Issue #11208)

Sanchit112 commented on a change in pull request #16084:
URL: https://github.com/apache/airflow/pull/16084#discussion_r641325488



##########
File path: docs/apache-airflow/tutorial.rst
##########
@@ -376,3 +376,133 @@ Here's a few things you might want to do next:
       - Review the :ref:`List of operators <pythonapi:operators>`
       - Review the :ref:`Macros reference<macros>`
     - Write your first pipeline!
+
+
+Lets look at another example; we need to get some data from a file which is hosted online and need to insert into our local database. We also need to look at removing duplicate rows while inserting.
+
+Initial setup
+'''''''''''''
+We need to have docker and postgres installed.
+We will be using this `docker file <https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html#docker-compose-yaml>`_
+Follow the instructions properly to set up Airflow.
+
+Create a Employee table in postgres using this
+
+.. code-block:: bash

Review comment:
       The query is run on the psql CLI, so should I update it to SQL or let it be as bash only?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org