Thanks for reaching out to Microsoft Q&A.
It looks like the issues youare encountering are likely due to the new MySQL/MariaDB adf connector not being fully backward compatible or lacking proper handling of certain data types and operations compared to the legacy version. These types of bugs, particularly around type conversion, datetime handling, and socket connection issues, could indeed be indicative of incomplete or improper functionality in the new connector version.
Here’s what you can do next:
Report the Issues: If you haven't already, I recommend reporting these issues through Azure support channels or the Microsoft Q&A forums. Providing detailed logs and error messages will help expedite any investigation into potential bugs.
Microsoft Roadmap and Fixes: Microsoft will likely address issues with the new connector before the legacy version is deprecated, especially if the issues are widespread. Monitor official Azure release notes, connector updates, and any announcements about bug fixes for the connector.
- Workarounds for Errors 2 and 3:
- Java Array Out of Bounds (Error 2): This might occur due to improper data handling when fetching or writing large datasets. Try reducing the batch size or applying partitioning to limit the data sent in each batch.
- DateTime Conversion (Error 3): This error could be related to invalid or null datetime values in your data. You could try filtering or cleaning the data before the copy activity to avoid invalid datetime ranges or transforming datetime values explicitly within a data flow before loading them.
Although switching back to the legacy connector works for now, I would recommend staying updated on any fixes or patches to the new connector before the deprecation date.
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.