<?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 Error loading data to LakeHouse in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-loading-data-to-LakeHouse/m-p/4376780#M6399</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do a POC on Lakehouse ETL and while using a copy activity to load data into LakeHouse i get the below error message&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"{&lt;BR /&gt;"errorCode": "2200",&lt;BR /&gt;"message": "Failure happened on 'destination' side. 'Type=System.InvalidOperationException,Message=invalid partition lengths,Source=Microsoft.DataTransfer.ClientLibrary,'",&lt;BR /&gt;"failureType": "UserError",&lt;BR /&gt;"target": "Copy data2",&lt;BR /&gt;"details": []&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue before? It initially worked for 1 month of data and partition column is a date column. When i ran it again for previous month it failed with the above error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sink Settings&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connection: Lakehouse&lt;/P&gt;&lt;P&gt;Table Action: Overwrite&lt;/P&gt;&lt;P&gt;Enable Partitions: Yes&lt;/P&gt;&lt;P&gt;Parition Columns: OrderDate&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 03:21:10 GMT</pubDate>
    <dc:creator>Ira_27</dc:creator>
    <dc:date>2025-01-23T03:21:10Z</dc:date>
    <item>
      <title>Error loading data to LakeHouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-loading-data-to-LakeHouse/m-p/4376780#M6399</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do a POC on Lakehouse ETL and while using a copy activity to load data into LakeHouse i get the below error message&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"{&lt;BR /&gt;"errorCode": "2200",&lt;BR /&gt;"message": "Failure happened on 'destination' side. 'Type=System.InvalidOperationException,Message=invalid partition lengths,Source=Microsoft.DataTransfer.ClientLibrary,'",&lt;BR /&gt;"failureType": "UserError",&lt;BR /&gt;"target": "Copy data2",&lt;BR /&gt;"details": []&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue before? It initially worked for 1 month of data and partition column is a date column. When i ran it again for previous month it failed with the above error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sink Settings&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connection: Lakehouse&lt;/P&gt;&lt;P&gt;Table Action: Overwrite&lt;/P&gt;&lt;P&gt;Enable Partitions: Yes&lt;/P&gt;&lt;P&gt;Parition Columns: OrderDate&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 03:21:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-loading-data-to-LakeHouse/m-p/4376780#M6399</guid>
      <dc:creator>Ira_27</dc:creator>
      <dc:date>2025-01-23T03:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading data to LakeHouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-loading-data-to-LakeHouse/m-p/4377758#M6433</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/802637"&gt;@Ira_27&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message "invalid partition lengths" you are encountering while loading data into Lakehouse suggests an issue with the partitioning configuration during the copy activity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please ensure that the data type of your partition column (OrderDate) is consistent and valid. If it is a date column, verify that all values adhere to the expected date format without any anomalies or incorrect formats that might cause invalid partition lengths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the process initially worked for one month of data but failed for another, check for discrepancies in the data for the previous month. Look for any unexpected formats in the OrderDate column that could disrupt the partitioning logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 12:49:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-loading-data-to-LakeHouse/m-p/4377758#M6433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-23T12:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading data to LakeHouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-loading-data-to-LakeHouse/m-p/4380374#M6503</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;After i posted it i figured it out about the partition incorrect format. It was using SQL datetime column as partition column and when i changed it to "yyyyMMdd" it worked fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exactly like you explained! Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 20:48:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Error-loading-data-to-LakeHouse/m-p/4380374#M6503</guid>
      <dc:creator>Ira_27</dc:creator>
      <dc:date>2025-01-24T20:48:40Z</dc:date>
    </item>
  </channel>
</rss>

