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


   I was able to replicate this bug. Sqlalchemy expects to receive a string, 
not a list. It would be trivial to iterate over the input statements and run 
them in sequence.
   
   However, it's not clear to me what the original plan for this method was, 
since it accepts a list or dictionary of parameters. SqlAlchemy has a pattern 
in which a parameterized query string is passed in, and then a list of 
dicts/lists containing parameters is as passed well. The query is run against 
all of the parameters individually. But if `get_records` accept both a list of 
queries _and_ a list of parameters, it's not clear if or how the parameters 
should be applied to individual query statements.
   
   @kaxil 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:
[email protected]


Reply via email to