<?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: Table Sync State: Failure after Pipeline execution in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4315301#M6553</link>
    <description>&lt;P&gt;Does it work when you manually refresh the metadata of your lakehouse? Microsoft just posted a blog showing the improvements of the sql endpoint and there is a 'Metadata sync' button available. You can read it here at point 2.:&lt;BR /&gt;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/whats-new-in-the-fabric-sql-analytics-endpoint/" target="_blank"&gt;https://blog.fabric.microsoft.com/en-us/blog/whats-new-in-the-fabric-sql-analytics-endpoint/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 13:10:16 GMT</pubDate>
    <dc:creator>FabianSchut</dc:creator>
    <dc:date>2024-12-05T13:10:16Z</dc:date>
    <item>
      <title>Table Sync State: Failure after Pipeline execution</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4314993#M6551</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been facing a strange issue with my SQL Endpoint after my pipeline execution where I get the data from a SQL Server database and my sink is a Delta Table in a Lakehouse. After a few days I suddenly find this problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find a&amp;nbsp; red cross next to my tables names:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I enter in the details of the error I find it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I read the data with pyspark in a notebook I can see the data without problem but when I query in the SQL Endpoint the last data I see is from&amp;nbsp;&lt;SPAN&gt;Fri Nov 29 2024 (the day of the failure). I know some peple is facing the same issue and they see the solution is set manually the setting for overwrite the table but It doesn't work for me:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Pipeline/Lakehosue-table-has-an-error-An-internal-error-has-occurred/m-p/4243536#M5913" target="_blank" rel="noopener"&gt;Solved: Re: Lakehosue table has an error: An internal erro... - Microsoft Fabric Community&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By the way, It used to work in the past but suddenly It happens.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jorge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 09:15:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4314993#M6551</guid>
      <dc:creator>JorgeMarmol</dc:creator>
      <dc:date>2024-12-05T09:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table Sync State: Failure after Pipeline execution</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4315301#M6553</link>
      <description>&lt;P&gt;Does it work when you manually refresh the metadata of your lakehouse? Microsoft just posted a blog showing the improvements of the sql endpoint and there is a 'Metadata sync' button available. You can read it here at point 2.:&lt;BR /&gt;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/whats-new-in-the-fabric-sql-analytics-endpoint/" target="_blank"&gt;https://blog.fabric.microsoft.com/en-us/blog/whats-new-in-the-fabric-sql-analytics-endpoint/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 13:10:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4315301#M6553</guid>
      <dc:creator>FabianSchut</dc:creator>
      <dc:date>2024-12-05T13:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table Sync State: Failure after Pipeline execution</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4315382#M6555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="701977" data-lia-user-login="FabianSchut" class="lia-mention lia-mention-user"&gt;FabianSchut&lt;/a&gt;&amp;nbsp;&amp;nbsp;thanks for your answer. No, It doesn't work, I've tried it. It only works if I overwrite the table but a few days later after executing the pipeline in append model It fails again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's strange because It happens even in tables are empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Jorge.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 14:15:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4315382#M6555</guid>
      <dc:creator>JorgeMarmol</dc:creator>
      <dc:date>2024-12-05T14:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table Sync State: Failure after Pipeline execution</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4316055#M6558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="888725" data-lia-user-login="JorgeMarmol" class="lia-mention lia-mention-user"&gt;JorgeMarmol&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think you can try these steps below:&lt;BR /&gt;&lt;BR /&gt;1. Sometimes, the metadata might be out of sync. You can try refreshing the table metadata in your SQL Endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Since you can read the data with PySpark but not through the SQL Endpoint, there might be an issue with how the data is being indexed or cached. Try running a REFRESH TABLE &amp;lt;table_name&amp;gt; command in your SQL Endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Ensure there are no locks or long-running transactions on the table that might be causing the issue. You can check this by running SHOW TRANSACTIONS or SHOW LOCKS commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. If manually setting the overwrite option didn't work, try updating the table properties to ensure they are correctly configured. You can use the following PySpark command to set the properties:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;spark.sql("ALTER TABLE &amp;lt;table_name&amp;gt; SET TBLPROPERTIES ('delta.autoOptimize.optimizeWrite' = 'true', 'delta.autoOptimize.autoCompact' = 'true')")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 01:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4316055#M6558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-06T01:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table Sync State: Failure after Pipeline execution</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4319388#M6573</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Thanks a lot! I tried points 1 to 3 before, but I hadn't tried point 4. It works for me; I have been monitoring it since last Thursday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 09:18:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4319388#M6573</guid>
      <dc:creator>JorgeMarmol</dc:creator>
      <dc:date>2024-12-09T09:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Table Sync State: Failure after Pipeline execution</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4331858#M6651</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="888725" data-lia-user-login="JorgeMarmol" class="lia-mention lia-mention-user"&gt;JorgeMarmol&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 01:43:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Table-Sync-State-Failure-after-Pipeline-execution/m-p/4331858#M6651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-17T01:43:08Z</dc:date>
    </item>
  </channel>
</rss>

