uranusjr commented on code in PR #38715:
URL: https://github.com/apache/airflow/pull/38715#discussion_r1560786028
##########
airflow/providers/common/sql/hooks/sql.py:
##########
@@ -550,47 +557,47 @@ def insert_rows(
:param commit_every: The maximum number of rows to insert in one
transaction. Set to 0 to insert all rows in one transaction.
:param replace: Whether to replace instead of insert
- :param executemany: Insert all rows at once in chunks defined by the
commit_every parameter, only
+ :param executemany: Inserts all rows at once in chunks defined by the
commit_every parameter, only
works if all rows have same number of column names but leads to
better performance
Review Comment:
```suggestion
:param executemany: (Deprecated) If True, all rows are inserted at
once in
chunks defined by the commit_every parameter. This only works if
all rows
have same number of column names, but leads to better
performance.
```
--
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]