alartum commented on code in PR #34348:
URL: https://github.com/apache/airflow/pull/34348#discussion_r1338507915


##########
airflow/utils/db.py:
##########
@@ -1446,7 +1446,7 @@ class BadReferenceConfig:
 
         dangling_table_name = 
_format_airflow_moved_table_name(source_table.name, change_version, "dangling")
         if dangling_table_name in existing_table_names:
-            invalid_row_count = bad_rows_query.count()
+            invalid_row_count = get_query_count(bad_rows_query, 
session=session)

Review Comment:
   @ephraimbuddy I've finally found the time to add the test, although it 
required more work than expected :)



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