<?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 lineage visibility in Databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/table-lineage-visibility-in-databricks/m-p/91344#M38154</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/121515"&gt;@sms101&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;How are you doing today?&lt;/P&gt;&lt;P&gt;As per my understanding,&amp;nbsp;It is correct that &lt;STRONG&gt;lineage tracking in Databricks works primarily at the table level&lt;/STRONG&gt;, meaning when you reference a Delta table directly, the lineage is properly captured. However, when you use &lt;STRONG&gt;file paths as data sources&lt;/STRONG&gt;, Databricks does not track lineage since it sees the source as just a file location, not a registered table. For better lineage visibility, consider &lt;STRONG&gt;registering your data sources as Delta tables&lt;/STRONG&gt; before referencing them in queries. This will help ensure the lineage is consistently tracked. Additionally, maintaining &lt;STRONG&gt;consistent use of catalog tables&lt;/STRONG&gt; instead of direct file paths is a recommended practice to preserve full lineage tracking across your workflow.&lt;/P&gt;&lt;P&gt;Please let me know if it works and have a good day.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
    <pubDate>Sun, 22 Sep 2024 19:55:16 GMT</pubDate>
    <dc:creator>Brahmareddy</dc:creator>
    <dc:date>2024-09-22T19:55:16Z</dc:date>
    <item>
      <title>Table lineage visibility in Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/table-lineage-visibility-in-databricks/m-p/90918#M38029</link>
      <description>&lt;P&gt;I’ve observed differences in table lineage visibility in Databricks based on how data is referenced, and I would like to confirm if this is the expected behavior.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. When referencing a Delta table as the source in a query (e.g., &lt;/SPAN&gt;&lt;SPAN&gt;df = spark.table("catalog_test.schema.dinner")&lt;/SPAN&gt;), the table lineage correctly tracks the source table under the lineage section.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. However, when referencing a file path (e.g., &lt;/SPAN&gt;df1 = spark.read.format("delta").load("s3://path/")&lt;SPAN&gt;), the lineage does not track any source table names, as the source is a file location rather than a registered table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is it correct that lineage tracking in Databricks primarily works at the table level and won’t capture lineage from data sources referenced by file paths? If so, are there recommended best practices for maintaining lineage visibility when using file locations as sources?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 14:51:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/table-lineage-visibility-in-databricks/m-p/90918#M38029</guid>
      <dc:creator>sms101</dc:creator>
      <dc:date>2024-09-18T14:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table lineage visibility in Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/table-lineage-visibility-in-databricks/m-p/91344#M38154</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/121515"&gt;@sms101&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;How are you doing today?&lt;/P&gt;&lt;P&gt;As per my understanding,&amp;nbsp;It is correct that &lt;STRONG&gt;lineage tracking in Databricks works primarily at the table level&lt;/STRONG&gt;, meaning when you reference a Delta table directly, the lineage is properly captured. However, when you use &lt;STRONG&gt;file paths as data sources&lt;/STRONG&gt;, Databricks does not track lineage since it sees the source as just a file location, not a registered table. For better lineage visibility, consider &lt;STRONG&gt;registering your data sources as Delta tables&lt;/STRONG&gt; before referencing them in queries. This will help ensure the lineage is consistently tracked. Additionally, maintaining &lt;STRONG&gt;consistent use of catalog tables&lt;/STRONG&gt; instead of direct file paths is a recommended practice to preserve full lineage tracking across your workflow.&lt;/P&gt;&lt;P&gt;Please let me know if it works and have a good day.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 19:55:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/table-lineage-visibility-in-databricks/m-p/91344#M38154</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2024-09-22T19:55:16Z</dc:date>
    </item>
  </channel>
</rss>

