Add How-To guide for PostgresOperator#13281
Conversation
There was a problem hiding this comment.
Really nice - few cosmetic coments, One question - is it possible to extract out some of the code examples and put it together as a fully-fetured example dag? We do that in other operators (look at the Google Howto Guides). This has the benefit that people can see a complete example in the example_dag as well as relevant snippets of code in the guide and navigate between them.
Also it would be great if such example dag is runnable as a System Test (https://github.com/apache/airflow/blob/master/TESTING.rst#airflow-system-tests) - we have not yet automated our system tests but we are planning to, It would be great to have such a runnable example_dag used here.
docs/apache-airflow/howto/operator/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow/howto/operator/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow/howto/operator/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
67538e3 to
b3f8b43
Compare
|
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
b3f8b43 to
1bfc8d0
Compare
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
docs/apache-airflow-providers-postgres/operators/postgres_operator_howto_guide.rst
Outdated
Show resolved
Hide resolved
It explores how to create tasks that interact with the PostgreSQL database. This How-To guide demonstrates some of the best practices for using the PostgresOperator class.
ecf9f01 to
0f34671
Compare
|
Thanks @kaxil for the well thought out suggestions. I have made the necessary changes in line with your suggestions. |
It explores how to create tasks that interact with the PostgreSQL database.
This How-To guide demonstrates some of the best practices for using the PostgresOperator class.
closes: #11917
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.