uranusjr commented on code in PR #38972:
URL: https://github.com/apache/airflow/pull/38972#discussion_r1563041853


##########
airflow/providers/common/sql/hooks/sql.py:
##########
@@ -594,7 +594,7 @@ def insert_rows(
                             conn.commit()
                             self.log.info("Loaded %s rows into %s so far", i, 
table)
                     conn.commit()
-        self.log.info("Done loading. Loaded a total of %s rows into %s", 
len(rows), table)
+        self.log.info("Done loading. Loaded a total of %s rows into %s", 
len(list(rows)), table)

Review Comment:
   This will always be 0 because the rows would have been consumed when they 
are inserted into the database.



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