uranusjr commented on a change in pull request #16084:
URL: https://github.com/apache/airflow/pull/16084#discussion_r641397454
##########
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:
Aren't commands run *in* psql SQL (dialet)? Like how commands run in the
`python` REPL are Python code, not Bash.
##########
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:
Aren't commands run *in* psql SQL (dialect)? Like how commands run in
the `python` REPL are Python code, not Bash.
--
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:
[email protected]