majiayu000 commented on issue #62506: URL: https://github.com/apache/airflow/issues/62506#issuecomment-4056069960
I've submitted PR #63530 to fix this issue. The fix changes `bulk_load_custom` to interpolate `duplicate_key_handling` and `extra_options` directly into the SQL statement via f-string, while keeping `tmp_file` as the sole parameterized value. This prevents MySQL drivers from quoting SQL keywords as string literals. All existing tests have been updated and a new parametrized test has been added to verify both `IGNORE` and `REPLACE` keywords work correctly. -- 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]
