<?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: Foreign Catalog Wrong Mapping - Azure SQL Database Binary Column in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/foreign-catalog-wrong-mapping-azure-sql-database-binary-column/m-p/133145#M49733</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98258"&gt;@RobsonNLPT&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;One thing that might help to narrow this down: could you check whether the problem occurs for the entire column, or if some of the batches you receive actually contain the full (non-truncated) value?&lt;BR /&gt;&lt;BR /&gt;If some batches are complete but others are cut off, it could mean the connector hit a buffer or batch size limit and decided to truncate the value instead of failing with an out-of-memory error.&lt;BR /&gt;&lt;BR /&gt;You might also try a controlled test with smaller binary values (for example, shorter base64-encoded ZIPs) to see if they come through without issues. If smaller payloads work fine but larger ones get truncated, that would confirm the problem is related to size limits in the federation connector...&lt;/P&gt;&lt;P&gt;I understand that these things can sometimes be frustrating &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;Isi&lt;/P&gt;</description>
    <pubDate>Sat, 27 Sep 2025 20:58:02 GMT</pubDate>
    <dc:creator>Isi</dc:creator>
    <dc:date>2025-09-27T20:58:02Z</dc:date>
    <item>
      <title>Foreign Catalog Wrong Mapping - Azure SQL Database Binary Column</title>
      <link>https://community.databricks.com/t5/data-engineering/foreign-catalog-wrong-mapping-azure-sql-database-binary-column/m-p/133140#M49732</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I've used foreign catalog attached to azure sql databases and never had problems except in 2 situations:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) Foreign Catalogs don't support sql schemas/objects like [xxxx.yyyy].tablename. The workaround is creating views on sql database&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) This is new issue: When I try to read a table from a foreign catalog, specifically a Binary column serialized as base64(a representation of a zip file) the resultset returns a truncated and wrong value and then I can't decode.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is the second issue with data mappings. The first one was trying read a json column from google bigquery&amp;nbsp; table and now this problem reading sql varbinary column(mapped to binary in databricks).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Using data factory I can read the sql database and copy to parquet files. It works but it should be done using only databricks.&lt;/P&gt;&lt;P&gt;Any help?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2025 15:20:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/foreign-catalog-wrong-mapping-azure-sql-database-binary-column/m-p/133140#M49732</guid>
      <dc:creator>RobsonNLPT</dc:creator>
      <dc:date>2025-09-27T15:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Catalog Wrong Mapping - Azure SQL Database Binary Column</title>
      <link>https://community.databricks.com/t5/data-engineering/foreign-catalog-wrong-mapping-azure-sql-database-binary-column/m-p/133145#M49733</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/98258"&gt;@RobsonNLPT&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;One thing that might help to narrow this down: could you check whether the problem occurs for the entire column, or if some of the batches you receive actually contain the full (non-truncated) value?&lt;BR /&gt;&lt;BR /&gt;If some batches are complete but others are cut off, it could mean the connector hit a buffer or batch size limit and decided to truncate the value instead of failing with an out-of-memory error.&lt;BR /&gt;&lt;BR /&gt;You might also try a controlled test with smaller binary values (for example, shorter base64-encoded ZIPs) to see if they come through without issues. If smaller payloads work fine but larger ones get truncated, that would confirm the problem is related to size limits in the federation connector...&lt;/P&gt;&lt;P&gt;I understand that these things can sometimes be frustrating &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;Isi&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2025 20:58:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/foreign-catalog-wrong-mapping-azure-sql-database-binary-column/m-p/133145#M49733</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-09-27T20:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Catalog Wrong Mapping - Azure SQL Database Binary Column</title>
      <link>https://community.databricks.com/t5/data-engineering/foreign-catalog-wrong-mapping-azure-sql-database-binary-column/m-p/133157#M49736</link>
      <description>&lt;P&gt;Hi. I've tested multiple scenarios. It never works. Also limitations should be officially informed is applicable. Unacceptable. Like I said the same occurs with Google BigQuery and some data types including Json types.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Sep 2025 10:45:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/foreign-catalog-wrong-mapping-azure-sql-database-binary-column/m-p/133157#M49736</guid>
      <dc:creator>RobsonNLPT</dc:creator>
      <dc:date>2025-09-28T10:45:40Z</dc:date>
    </item>
  </channel>
</rss>

