<?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: Lakehouse error: &amp;quot;An internal error has occurred while applying table changes to SQL&amp;quot; in Eventstream</title>
    <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4684766#M511</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1262921" target="_blank"&gt;@RishikeshPashte&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked.&lt;BR /&gt;If my response addressed, please mark it as "&lt;STRONG&gt;Accept as solution"&amp;nbsp;&lt;/STRONG&gt;and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 12:05:00 GMT</pubDate>
    <dc:creator>v-achippa</dc:creator>
    <dc:date>2025-05-08T12:05:00Z</dc:date>
    <item>
      <title>Lakehouse error: "An internal error has occurred while applying table changes to SQL"</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4660570#M451</link>
      <description>&lt;P&gt;I have two EventStreams setup that fetches the data from App Insights and evetually dumps the selected set of columns into the respective tables created in OneLake but, for some reason it recently started throwing the error&amp;nbsp;"An internal error has occurred while applying table changes to SQL" for both the tables&lt;BR /&gt;&lt;BR /&gt;The latest data is successfully fetched from the App Insights to the EventStream:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But, the tables are returning the below error:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NOTE: Ealrier, the flow was working flawlessly and the table contains data&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 07:08:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4660570#M451</guid>
      <dc:creator>RishikeshPashte</dc:creator>
      <dc:date>2025-04-21T07:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse error: "An internal error has occurred while applying table changes to SQL"</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4661256#M454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1262921" data-lia-user-login="RishikeshPashte" class="lia-mention lia-mention-user"&gt;RishikeshPashte&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error here indicates an issue when the SQL Analytics endpoint tries to update the tables in OneLake. Since the flow was working previously and the EventStream is successfully fetching data, the issue is likely related to a schema mismatch or a temporary issue with the SQL endpoint.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Compare the schema of the data in the EventStream with the schema of the target table in OneLake. If there is a mismatch for example like new columns or data type changes, either modify the EventStream to match with the table schema or update the table schema to match the incoming data.&lt;/LI&gt;
&lt;LI&gt;Create a new table in OneLake with the same schema and redirect the EventStream output to this new table. If it works the issue might be with the original table, so migrate the existing data to the new table and update your pipeline to use the new table.&lt;/LI&gt;
&lt;LI&gt;In the Fabric workspace, restart the SQL Analytics endpoint or refresh the Lakehouse to clear any temporary issues.&lt;/LI&gt;
&lt;LI&gt;And also ensure that your account has the necessary permissions to write the table and you have not exceeded any fabric capacity limits, check this in the fabric workspace settings under Capacity.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 13:25:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4661256#M454</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-04-21T13:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse error: "An internal error has occurred while applying table changes to SQL"</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4666974#M482</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1262921" data-lia-user-login="RishikeshPashte" class="lia-mention lia-mention-user"&gt;RishikeshPashte&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked? or let us know if you need any further assistance.&lt;BR /&gt;If my response addressed, please mark it as "&lt;STRONG&gt;Accept as solution"&amp;nbsp;&lt;/STRONG&gt;and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 14:07:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4666974#M482</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-04-24T14:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse error: "An internal error has occurred while applying table changes to SQL"</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4671051#M488</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1262921" target="_blank"&gt;@RishikeshPashte&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We wanted to kindly follow up to check if the solution I have provided for the issue worked.&lt;BR /&gt;If my response addressed, please mark it as "&lt;STRONG&gt;Accept as solution"&amp;nbsp;&lt;/STRONG&gt;and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 12:45:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4671051#M488</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-04-28T12:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse error: "An internal error has occurred while applying table changes to SQL"</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4672852#M490</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I created a new table, dumped the previous data in the new table and again set up an EventStream for the new table but, it's again giving me the same error as mentioned above&lt;BR /&gt;&lt;BR /&gt;Also, when I query the table via the SQL endpoint it doesn't show me the latest data whereas, when I query the table using a Fabric notebook it fetches the lata data from the table. Please find the screenshots for the same below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Queried using SQL Endpoint:&lt;/STRONG&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;STRONG&gt;Queried using Fabric notebook:&lt;/STRONG&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 11:30:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4672852#M490</guid>
      <dc:creator>RishikeshPashte</dc:creator>
      <dc:date>2025-04-29T11:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse error: "An internal error has occurred while applying table changes to SQL"</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4679570#M502</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1262921" data-lia-user-login="RishikeshPashte" class="lia-mention lia-mention-user"&gt;RishikeshPashte&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue here is that the EventStream writes are succeeding but SQL endpoint queries not reflecting the latest data, this looks like a metadata sync issue between the Spark engine and the SQL analytics endpoint in microsoft Fabric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a new Lakehouse or new table and use a Fabric notebook to manually copy the data using Spark. This ensures that the metadata is clean and synchronized correctly with the SQL endpoint. Once done, refresh the SQL endpoint and re run the query, this should now reflect the latest data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 06:53:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4679570#M502</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-05-05T06:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse error: "An internal error has occurred while applying table changes to SQL"</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4684766#M511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1262921" target="_blank"&gt;@RishikeshPashte&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked.&lt;BR /&gt;If my response addressed, please mark it as "&lt;STRONG&gt;Accept as solution"&amp;nbsp;&lt;/STRONG&gt;and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 12:05:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Lakehouse-error-quot-An-internal-error-has-occurred-while/m-p/4684766#M511</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-05-08T12:05:00Z</dc:date>
    </item>
  </channel>
</rss>

