| :py:mod:`airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql` |
| ===================================================================================== |
| |
| .. py:module:: airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql |
| |
| |
| Module Contents |
| --------------- |
| |
| |
| Functions |
| ~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql.output_query_results |
| |
| |
| |
| Attributes |
| ~~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql.REDSHIFT_CLUSTER_IDENTIFIER |
| airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql.REDSHIFT_DATABASE |
| airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql.REDSHIFT_DATABASE_USER |
| airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql.REDSHIFT_QUERY |
| airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql.POLL_INTERVAL |
| airflow.providers.amazon.aws.example_dags.example_redshift_data_execute_sql.task_query |
| |
| |
| .. py:data:: REDSHIFT_CLUSTER_IDENTIFIER |
| |
| |
| |
| |
| .. py:data:: REDSHIFT_DATABASE |
| |
| |
| |
| |
| .. py:data:: REDSHIFT_DATABASE_USER |
| |
| |
| |
| |
| .. py:data:: REDSHIFT_QUERY |
| :annotation: = Multiline-String |
| |
| .. raw:: html |
| |
| <details><summary>Show Value</summary> |
| |
| .. code-block:: text |
| :linenos: |
| |
| |
| SELECT table_schema, |
| table_name |
| FROM information_schema.tables |
| WHERE table_schema NOT IN ('information_schema', 'pg_catalog') |
| AND table_type = 'BASE TABLE' |
| ORDER BY table_schema, |
| table_name; |
| |
| |
| .. raw:: html |
| |
| </details> |
| |
| |
| |
| .. py:data:: POLL_INTERVAL |
| :annotation: = 10 |
| |
| |
| |
| .. py:function:: output_query_results(statement_id) |
| |
| |
| .. py:data:: task_query |
| |
| |
| |
| |