<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error while incremental load using Fabric Copy Job from MySQL (MariaDB) via Gateway–SQL syntax i in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5260824#M17026</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/613631"&gt;@Lalit_Pruthi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2026 10:54:55 GMT</pubDate>
    <dc:creator>v-aatheeque</dc:creator>
    <dc:date>2026-07-01T10:54:55Z</dc:date>
    <item>
      <title>Error while incremental load using Fabric Copy Job from MySQL (MariaDB) via Gateway–SQL syntax issue</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5233222#M16866</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I’m facing an issue while performing &lt;STRONG&gt;incremental data load (watermark-based) using a Fabric Copy Job and would appreciate any guidance.&lt;/STRONG&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;&lt;STRONG&gt;Setup Details&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Source: MySQL (MariaDB 5.5.68)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Destination: Azure SQL Database&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Connectivity: On-premises gateway&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Driver: MySQL ODBC 9.7 Unicode Driver&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Error Encountered&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Copy failed with error:&lt;BR /&gt;Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,&amp;nbsp;Message=ERROR [42000] [MySQL][ODBC 9.7(w) Driver][mysqld-5.5.68-MariaDB]&amp;nbsp;You have an error in your SQL syntax; check the manual that corresponds&amp;nbsp;to your MariaDB server version for the right syntax to use near&amp;nbsp;.""Updated"") AS ""nextCheckpoint"" FROM (SELECT&amp;nbsp;a.TransactionId,&amp;nbsp; a.Cal' at line 1&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Observation&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;The error indicates a &lt;STRONG&gt;&lt;STRONG&gt;SQL syntax issue, likely related to:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Quoting style (""Updated"")&lt;/LI&gt;&lt;LI&gt;Generated query for incremental load (checkpoint logic)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;MariaDB 5.5 might not fully support the SQL syntax being generated by Fabric (especially double quotes or aliasing style).&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Is there a known compatibility issue between:&lt;UL&gt;&lt;LI&gt;Fabric Copy Job (incremental load)&lt;/LI&gt;&lt;LI&gt;MySQL/MariaDB (especially older versions like 5.5)?&lt;/LI&gt;&lt;LI&gt;Can we control or override the &lt;STRONG&gt;generated incremental query (especially quoting/aliasing)?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Would switching to a different ODBC driver or version help?&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Are there recommended configurations for MySQL/MariaDB sources via gateway in Fabric?&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;Additional Notes&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;Full load works fine.&lt;/LI&gt;&lt;LI&gt;Issue happens only when enabling &lt;STRONG&gt;&lt;STRONG&gt;incremental load / checkpoint logic.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;Any suggestions or similar experiences would be really helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 24 Jun 2026 14:52:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5233222#M16866</guid>
      <dc:creator>Lalit_Pruthi</dc:creator>
      <dc:date>2026-06-24T14:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error while incremental load using Fabric Copy Job from MySQL (MariaDB) via Gateway–SQL syntax i</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5234362#M16871</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/613631"&gt;@Lalit_Pruthi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears from the documentation that you've gotta be using the Maria DB version 10 or 11 for incremental refresh to work successfully.&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-au/fabric/data-factory/connector-mariadb-copy-activity" target="_blank"&gt;https://learn.microsoft.com/en-au/fabric/data-factory/connector-mariadb-copy-activity&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 22:13:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5234362#M16871</guid>
      <dc:creator>GilbertQ</dc:creator>
      <dc:date>2026-06-24T22:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error while incremental load using Fabric Copy Job from MySQL (MariaDB) via Gateway–SQL syntax i</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5235043#M16879</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/613631" target="_blank"&gt;@Lalit_Pruthi&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i think you find solution from below link&lt;BR /&gt;link:-https://zappysys.com/api/integration-hub/mariadb-connector/microsoft-fabric&lt;/P&gt;&lt;P&gt;if my suggestion helps you than please mark my reply&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 06:18:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5235043#M16879</guid>
      <dc:creator>Yash8160</dc:creator>
      <dc:date>2026-06-25T06:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error while incremental load using Fabric Copy Job from MySQL (MariaDB) via Gateway–SQL syntax i</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5252526#M16985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/613631"&gt;@Lalit_Pruthi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 12:27:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5252526#M16985</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2026-06-29T12:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error while incremental load using Fabric Copy Job from MySQL (MariaDB) via Gateway–SQL syntax i</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5260824#M17026</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/613631"&gt;@Lalit_Pruthi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2026 10:54:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5260824#M17026</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2026-07-01T10:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while incremental load using Fabric Copy Job from MySQL (MariaDB) via Gateway–SQL syntax i</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5263638#M17033</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/613631"&gt;@Lalit_Pruthi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like a &lt;STRONG&gt;MariaDB compatibility issue&lt;/STRONG&gt; with the SQL that Copy Job auto-generates for incremental loads, not a Fabric bug.&lt;BR /&gt;&lt;BR /&gt;The watermark query wraps identifiers and aliases in double quotes (e.g. MAX("Updated") AS "nextCheckpoint"). MariaDB/MySQL only treat "..." as identifiers when ANSI_QUOTES is included in sql_mode. On MariaDB 5.5.68 with the default sql_mode, those double quotes are parsed as string literals — which is exactly why the full load works but the incremental step throws a syntax error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As far as I know, the generated incremental SQL in Copy Job isn't user-overridable — checkpoint logic and query shape are managed internally. I'd verify against the latest docs in case that has changed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Practical workarounds:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Switch to a Data Pipeline Copy activity&lt;/STRONG&gt; — you can set Use query → Query, write your own incremental SELECT with backticks, and manage the watermark with a Lookup activity. Most reliable option when you need control over the SQL.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Enable ANSI_QUOTES in sql_mode&lt;/STRONG&gt; on MariaDB (session or global) so double-quoted identifiers are accepted. Test first — it can break app code that uses "..." as string literals.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Expose a source view&lt;/STRONG&gt; on MariaDB with clean column names and point Copy Job at it. Doesn't fix the quoting itself but sometimes sidesteps issues.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Try MariaDB Connector/ODBC&lt;/STRONG&gt; instead of MySQL ODBC 9.7 — 5.5.68 is old and newer MySQL drivers aren't always backward-friendly.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Upgrade MariaDB&lt;/STRONG&gt; if feasible. 5.5 has been EOL for a long time and this won't be the last compatibility issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Things to check:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SELECT @@GLOBAL.sql_mode, @@SESSION.sql_mode;&lt;/LI&gt;&lt;LI&gt;The exact identifiers in the failing query from the error message&lt;/LI&gt;&lt;LI&gt;Gateway version (needs 3000.214.2 or later for Fabric pipelines)&lt;/LI&gt;&lt;LI&gt;ODBC driver version on the gateway, and whether swapping drivers changes behavior&lt;/LI&gt;&lt;LI&gt;Whether your watermark column type is one Copy Job officially supports&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Useful docs:&lt;/P&gt;&lt;P&gt;&lt;A title="Incremental copy in Copy job" href="https://learn.microsoft.com/en-us/fabric/data-factory/incremental-copy-job" target="_blank" rel="noopener"&gt;Incremental copy in Copy job&lt;/A&gt;&lt;BR /&gt;&lt;A title="Configure MySQL in a copy activity" href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-mysql-database-copy-activity" target="_blank" rel="noopener"&gt;Configure MySQL in a copy activity&lt;/A&gt;&lt;BR /&gt;&lt;A title="On-premises data gateway in Fabric" href="https://learn.microsoft.com/en-us/fabric/data-factory/how-to-access-on-premises-data" target="_blank" rel="noopener"&gt;On-premises data gateway in Fabric&lt;/A&gt;&lt;BR /&gt;&lt;A title="MariaDB SQL_MODE (see ANSI_QUOTES)" href="https://mariadb.com/docs/server/server-management/variables-and-modes/sql_mode" target="_blank" rel="noopener"&gt;MariaDB SQL_MODE (see ANSI_QUOTES)&lt;/A&gt;&lt;BR /&gt;&lt;A title="MariaDB identifier quoting rules" href="https://mariadb.com/docs/server/reference/sql-structure/sql-language-structure/identifier-names" target="_blank" rel="noopener"&gt;MariaDB identifier quoting rules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this got you what you needed, a Kudos and an Accepted Solution mark would be great — it helps others searching for the same thing find the answer quicker.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2026 09:03:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-while-incremental-load-using-Fabric-Copy-Job-from-MySQL/m-p/5263638#M17033</guid>
      <dc:creator>Dev_Dholakia</dc:creator>
      <dc:date>2026-07-02T09:03:39Z</dc:date>
    </item>
  </channel>
</rss>

