pkonarzewski commented on issue #9957:
URL: https://github.com/apache/airflow/issues/9957#issuecomment-715917177


   So I've wrote some code to fix this issue, but now i have some doubts.
   It's a simple fix, but there is few corner cases, that make it a little bit 
messy for me.
   
   My problems are:
   1. get_records() with one sql returns List[Tuple], with list of sqls it will 
return List[List[Tuple]], is this inconsistency ok?
   2. get_first() returns Tuple, should multi sql statements return 
List[Tuple]? Same problem as in point 1.
   3. what to do when one of the queries from list returns empty result?
   4. there is also method get_pandas_df(), shouldn't it also allow multiple 
sql statements?
   
   What do you think?


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to