jedcunningham commented on a change in pull request #21061:
URL: https://github.com/apache/airflow/pull/21061#discussion_r790929956



##########
File path: airflow/utils/db.py
##########
@@ -860,8 +860,15 @@ def _move_dangling_data_to_new_table(
         cte_sql = stmt.ctes[cte]
 
         session.execute(f"WITH {cte_sql} SELECT source.* INTO 
{target_table_name} FROM source")
+    elif dialect_name == "mysql":
+        # MySQL when replcation is turned needs this split in to two queries, 
so just do it for all MySQL

Review comment:
       ```suggestion
           # MySQL with replication needs this split in to two queries, so just 
do it for all MySQL
   ```
   
   nit




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