potiuk commented on a change in pull request #17695:
URL: https://github.com/apache/airflow/pull/17695#discussion_r691519151



##########
File path: airflow/hooks/dbapi.py
##########
@@ -324,6 +324,7 @@ def insert_rows(self, table, rows, target_fields=None, 
commit_every=1000, replac
                         lst.append(self._serialize_cell(cell, conn))
                     values = tuple(lst)
                     sql = self._generate_insert_sql(table, values, 
target_fields, replace, **kwargs)
+                    self.log.info(f"Generated sql: {sql}")

Review comment:
       This might be a bit too agressive. Please change it to debug, also use 
"%" format of log.* rather than f-string for 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]


Reply via email to