pgagnon commented on code in PR #28635:
URL: https://github.com/apache/airflow/pull/28635#discussion_r1059251399


##########
airflow/providers/common/sql/operators/sql.py:
##########
@@ -252,13 +253,17 @@ def _process_output(self, results: list[Any], 
descriptions: list[Sequence[Sequen
     def execute(self, context):
         self.log.info("Executing: %s", self.sql)
         hook = self.get_db_hook()
+        if self.split_statements is not None:
+            extra_kwargs = {"split_statements": self.split_statements}
+        else:
+            extra_kwargs = {}

Review Comment:
   ```suggestion
               extra_kwargs = {"split_statements": self.split_statements} if 
self.split_statements else {}
   ```



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