norm commented on code in PR #25822:
URL: https://github.com/apache/airflow/pull/25822#discussion_r950186390


##########
airflow/providers/common/sql/operators/sql.py:
##########
@@ -385,17 +385,15 @@ def execute(self, context: 'Context'):
         self.sql = f"SELECT check_name, check_result FROM ({checks_sql}) "
         f"AS check_table {partition_clause_statement};"
 
-        records = hook.get_pandas_df(self.sql)
+        records = hook.get_records(self.sql)

Review Comment:
   Did you forget to commit something? Tests fail:
   
   > \>      records = hook.get_records(self.sql)
   > E       AttributeError: 'MockHook' object has no attribute 'get_records'
   



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