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/03/26 17:27:47 UTC

[GitHub] [airflow] marcosmarxm commented on pull request #15012: PostgreSQL operator returns query result

marcosmarxm commented on pull request #15012:
URL: https://github.com/apache/airflow/pull/15012#issuecomment-808395191


   The `DBApiHook` **run** hasn't any return. Also reading the documentation:
    ```
    Runs a command or a list of commands. Pass a list of sql
           statements to the sql parameter to get them to execute
           sequentially
   ```
   you can send a list of sql statements to run, how do you proceed with this?
   Maybe some logic using the function `get_records` could be better...
   
   This look a very nice think to use with the TaskFlow API. Others users must know about this. Please, if possible add example and improve documentation to demonstrate to others.


-- 
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