airflow.providers.oracle.example_dags.example_oracle_fetch¶
Attributes¶
Functions¶
Fetch sample rows from Oracle table DEMO_TABLE. |
|
|
Print rows pulled from Oracle. |
Module Contents¶
- airflow.providers.oracle.example_dags.example_oracle_fetch.DOC = Multiline-String[source]¶
Show Value
""" ### Example: Simple Oracle fetch This DAG demonstrates using `OracleHook` to read from Oracle and push rows into XCom for downstream tasks. Adapt this pattern for your transfers. **Prereqs** - Define a connection `oracle_default` in Airflow. - Ensure a table `demo_table(id NUMBER, name VARCHAR2(100))` exists (or edit the SQL). """
- airflow.providers.oracle.example_dags.example_oracle_fetch.fetch_rows()[source]¶
Fetch sample rows from Oracle table DEMO_TABLE.