<?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: Left Outer Join returns an Inner Join in Delta Live Tables in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/left-outer-join-returns-an-inner-join-in-delta-live-tables/m-p/148094#M11422</link>
    <description>&lt;P&gt;did you ever get this resolved? struggling with a similar problem&lt;/P&gt;</description>
    <pubDate>Thu, 12 Feb 2026 00:04:06 GMT</pubDate>
    <dc:creator>ragonzalez</dc:creator>
    <dc:date>2026-02-12T00:04:06Z</dc:date>
    <item>
      <title>Left Outer Join returns an Inner Join in Delta Live Tables</title>
      <link>https://community.databricks.com/t5/get-started-discussions/left-outer-join-returns-an-inner-join-in-delta-live-tables/m-p/62745#M6666</link>
      <description>&lt;P&gt;In our Delta Live Table pipeline I am simply joining &lt;STRONG&gt;two streaming tables&lt;/STRONG&gt; to a &lt;STRONG&gt;new streaming table&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;We use the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97035"&gt;@Dlt&lt;/a&gt;.create_table()
def fact_event_faults():
    events = dlt.read_stream('event_list').withWatermark('TimeStamp', '4 hours')
    files = dlt.read_stream('file_list').withWatermark('Trigger_DateTime', '4 hours')
    event_faults = events.join(files, 
      (
        (events.TimeStamp &amp;gt;= (files.Trigger_DateTime - f.expr('INTERVAL 1 SECONDS'))) &amp;amp;
        (events.TimeStamp &amp;lt;= (files.Trigger_DateTime + f.expr('INTERVAL 1 SECONDS'))) &amp;amp;
        (events.Unique_Installation_ID == files.Unique_Installation_ID)
      ),
      how='leftouter')
    
    return event_faults&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running this, the event_list table has 12K records, the file_list has 4000 records but the event_faults table only has 76 records.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4bba99f9-1293-42f9-ab53-f869af77a877.jpg" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6519i894B17F9276F063C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="4bba99f9-1293-42f9-ab53-f869af77a877.jpg" alt="4bba99f9-1293-42f9-ab53-f869af77a877.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In an left outer join I would &lt;STRONG&gt;expect at least 12K records in the resulting table&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Executing the same query in a notebook without streaming and without watermarking, returns the expected 12K+ rows.&lt;BR /&gt;&lt;BR /&gt;What am I missing here?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 10:31:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/left-outer-join-returns-an-inner-join-in-delta-live-tables/m-p/62745#M6666</guid>
      <dc:creator>dofre</dc:creator>
      <dc:date>2024-03-06T10:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Left Outer Join returns an Inner Join in Delta Live Tables</title>
      <link>https://community.databricks.com/t5/get-started-discussions/left-outer-join-returns-an-inner-join-in-delta-live-tables/m-p/148094#M11422</link>
      <description>&lt;P&gt;did you ever get this resolved? struggling with a similar problem&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 00:04:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/left-outer-join-returns-an-inner-join-in-delta-live-tables/m-p/148094#M11422</guid>
      <dc:creator>ragonzalez</dc:creator>
      <dc:date>2026-02-12T00:04:06Z</dc:date>
    </item>
  </channel>
</rss>

