dabla commented on PR #38715:
URL: https://github.com/apache/airflow/pull/38715#issuecomment-2041993404

   > Why not just always use `executemany` instead? It’s unclear to me why a 
new argument is needed.
   
   To ellaborate a bit, that's indeed what this pull request is doing, always 
use executemany.  But the previous PR you had an option to use the original 
implementation or the faster executemany one, so you had to pass the parameter 
executemany to use the faster implementation, now this is obsolete as we will 
always use executemany.  Also the TeradataHook also had an additional 
bulk_insert_rows method which used the faster executemany implementation, this 
one now delegates to the insert_rows method as they share the same principle, 
so there we have a clean and less code and thus better maintainable.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to