<?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: Oracle 'LONG RAW' column issue in the Fabric Data Pipeline in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4422382#M7435</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/936553"&gt;@Prashant2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;`LONG RAW` is deprecated in Oracle and unsupported by Fabric’s Data Pipeline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabric’s Oracle connector struggles to map `LONG RAW` to Delta Lake’s binary type, resulting in empty or truncated data&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Immediate Workaround: Convert to BLOB in Oracle, If you control the Oracle schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If schema changes aren’t possible:&lt;BR /&gt;• Use a SQL Query in the Copy Activity Source:&lt;/P&gt;&lt;P&gt;SELECT ID, NAME, TO_LOB(image_data) AS image_data_blob FROM your_table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the pipeline’s copy activity settings:&lt;BR /&gt;• Set `Fault tolerance` &amp;gt; `Skip incompatible rows` to avoid job failures during type mismatches.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in notebook use something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;df = df.withColumn("image_data", expr("CAST(image_data AS BINARY)"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps. Please accept the answer&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2025 16:24:08 GMT</pubDate>
    <dc:creator>nilendraFabric</dc:creator>
    <dc:date>2025-02-21T16:24:08Z</dc:date>
    <item>
      <title>Oracle 'LONG RAW' column issue in the Fabric Data Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4422250#M7434</link>
      <description>&lt;P&gt;I have a Fabric Data Pipeline loading the Oracle data to a delta table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that, the Oracle column with the "LONG RAW" data type is not getting any data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to solve this issue&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Prashant&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 15:21:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4422250#M7434</guid>
      <dc:creator>Prashant2</dc:creator>
      <dc:date>2025-02-21T15:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 'LONG RAW' column issue in the Fabric Data Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4422382#M7435</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/936553"&gt;@Prashant2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;`LONG RAW` is deprecated in Oracle and unsupported by Fabric’s Data Pipeline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabric’s Oracle connector struggles to map `LONG RAW` to Delta Lake’s binary type, resulting in empty or truncated data&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Immediate Workaround: Convert to BLOB in Oracle, If you control the Oracle schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If schema changes aren’t possible:&lt;BR /&gt;• Use a SQL Query in the Copy Activity Source:&lt;/P&gt;&lt;P&gt;SELECT ID, NAME, TO_LOB(image_data) AS image_data_blob FROM your_table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the pipeline’s copy activity settings:&lt;BR /&gt;• Set `Fault tolerance` &amp;gt; `Skip incompatible rows` to avoid job failures during type mismatches.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in notebook use something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;df = df.withColumn("image_data", expr("CAST(image_data AS BINARY)"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps. Please accept the answer&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 16:24:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4422382#M7435</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-02-21T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 'LONG RAW' column issue in the Fabric Data Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4594204#M7681</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/936553"&gt;@Prashant2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Could you please confirm if your query have been resolved the solution provided by &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/913195"&gt;@nilendraFabric&lt;/a&gt;&amp;nbsp;? If they have, kindly mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 06:13:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4594204#M7681</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-03-04T06:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 'LONG RAW' column issue in the Fabric Data Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4596351#M7707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;TO_LOB function did not work for me.&lt;/P&gt;&lt;P&gt;I noticied that, "SELECT * FROM TABLE" is not truncating the LONG RAW columns, while its does not work if I use "SELECT LONG_COLNAME FROM TABLE" in the data pipeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 09:32:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4596351#M7707</guid>
      <dc:creator>Prashant2</dc:creator>
      <dc:date>2025-03-05T09:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 'LONG RAW' column issue in the Fabric Data Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4597935#M7736</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/936553"&gt;@Prashant2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Fabric Community. We understand that you are encountering an issue when loading data into a Delta table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue arises because LONG RAW is a deprecated data type in Oracle, making it challenging to manage in modern data pipelines. As Microsoft Fabric does not natively support the Oracle LONG RAW data type.If possible, consider the following workaround:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Convert the LONG RAW column to a HEX-encoded string using the RAWTOHEX function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-disc"&gt;
&lt;LI&gt;Apply the RAWTOHEX function in your source query to transform the LONG RAW data into a HEX-encoded string.&lt;/LI&gt;
&lt;LI&gt;Since HEX-encoded data is text-based, define the column as STRING in your Delta table schema.&lt;/LI&gt;
&lt;LI&gt;This ensures that the Fabric Data Pipeline can load the data without issues.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 07:17:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Oracle-LONG-RAW-column-issue-in-the-Fabric-Data-Pipeline/m-p/4597935#M7736</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-03-06T07:17:12Z</dc:date>
    </item>
  </channel>
</rss>

