<?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 Unity Catalog lineage is lost in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/unity-catalog-lineage-is-lost/m-p/94955#M2202</link>
    <description>&lt;P&gt;Currently, we have implemented Unity Catalog in Databricks and we are facing an issue with lineage. We execute a notebook that fills a table, and upon completion, the lineage is created correctly; all tables are mapped properly, and we can visualize the lineage tree without any issues. However, the next day, when the notebook is executed automatically as part of the workflow, the lineage information captured the previous day is lost. If we had dependencies on 20 tables, the next day it only shows dependencies for 5 tables.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2024 21:15:24 GMT</pubDate>
    <dc:creator>andalo</dc:creator>
    <dc:date>2024-10-18T21:15:24Z</dc:date>
    <item>
      <title>Unity Catalog lineage is lost</title>
      <link>https://community.databricks.com/t5/data-governance/unity-catalog-lineage-is-lost/m-p/94955#M2202</link>
      <description>&lt;P&gt;Currently, we have implemented Unity Catalog in Databricks and we are facing an issue with lineage. We execute a notebook that fills a table, and upon completion, the lineage is created correctly; all tables are mapped properly, and we can visualize the lineage tree without any issues. However, the next day, when the notebook is executed automatically as part of the workflow, the lineage information captured the previous day is lost. If we had dependencies on 20 tables, the next day it only shows dependencies for 5 tables.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 21:15:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unity-catalog-lineage-is-lost/m-p/94955#M2202</guid>
      <dc:creator>andalo</dc:creator>
      <dc:date>2024-10-18T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unity Catalog lineage is lost</title>
      <link>https://community.databricks.com/t5/data-governance/unity-catalog-lineage-is-lost/m-p/94956#M2203</link>
      <description>&lt;P&gt;What does your notebook do? Does it drop the existing tables and create a new one? Give more details about your process preferably the source code.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 21:17:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unity-catalog-lineage-is-lost/m-p/94956#M2203</guid>
      <dc:creator>gchandra</dc:creator>
      <dc:date>2024-10-18T21:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unity Catalog lineage is lost</title>
      <link>https://community.databricks.com/t5/data-governance/unity-catalog-lineage-is-lost/m-p/94960#M2204</link>
      <description>&lt;P&gt;The notebook performs a merge between the existing table and new information coming from a dataframe, which is stored in a temporary table.&lt;/P&gt;&lt;P&gt;In the same way, without executing any new operations on the table, the lineage starts to get lost, and tables are removed from the graph&lt;/P&gt;&lt;P&gt;Merge;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;deltaTable.&lt;/SPAN&gt;&lt;SPAN&gt;alias&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"data"&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;merge&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dfUpdates.&lt;/SPAN&gt;&lt;SPAN&gt;alias&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"newData"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; condition&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ).&lt;/SPAN&gt;&lt;SPAN&gt;whenMatchedUpdate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;update_columns) \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/SPAN&gt;&lt;SPAN&gt;whenNotMatchedInsert&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;values&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;dic_columns) \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/SPAN&gt;&lt;SPAN&gt;whenNotMatchedBySourceUpdate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;condition&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"data.eliminado = 0 "&lt;/SPAN&gt;&lt;SPAN&gt; ,&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;"data.eliminado"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"1"&lt;/SPAN&gt;&lt;SPAN&gt;}) \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/SPAN&gt;&lt;SPAN&gt;execute&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 21:50:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unity-catalog-lineage-is-lost/m-p/94960#M2204</guid>
      <dc:creator>andalo</dc:creator>
      <dc:date>2024-10-18T21:50:34Z</dc:date>
    </item>
  </channel>
</rss>

