<?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: How to delete records that column have same value in another table? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9340#M4756</link>
    <description>&lt;P&gt;Hi @pansiri panaudom​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case it's working fine.&lt;/P&gt;&lt;P&gt;Please refer below snapshot for the same-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/687i02CE7A114CCE7F97/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 12:17:08 GMT</pubDate>
    <dc:creator>Ajay-Pandey</dc:creator>
    <dc:date>2023-02-15T12:17:08Z</dc:date>
    <item>
      <title>How to delete records that column have same value in another table?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9339#M4755</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;delete from DWH.SALES_FACT
 
where SALES_DATE in (select SALES_DATE from STG.SALES_FACT_SRC)
    AND STORE_ID in (select STORE_ID from STG.SALES_FACT_SRC)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;output : Error in SQL statement: DeltaAnalysisException: Nested subquery is not supported in the DELETE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to avoid this error? ' cause I'm scared the performance when the DWH.SALES_FACT more volume in the future when create temp table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 10:18:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9339#M4755</guid>
      <dc:creator>Bie1234</dc:creator>
      <dc:date>2023-02-15T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete records that column have same value in another table?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9340#M4756</link>
      <description>&lt;P&gt;Hi @pansiri panaudom​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case it's working fine.&lt;/P&gt;&lt;P&gt;Please refer below snapshot for the same-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/687i02CE7A114CCE7F97/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 12:17:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9340#M4756</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2023-02-15T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete records that column have same value in another table?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9341#M4757</link>
      <description>&lt;P&gt;Hi @pansiri panaudom​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 05:50:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9341#M4757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-16T05:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete records that column have same value in another table?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9342#M4758</link>
      <description>&lt;P&gt;Hi @pansiri panaudom​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 18:20:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-delete-records-that-column-have-same-value-in-another/m-p/9342#M4758</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-02-23T18:20:54Z</dc:date>
    </item>
  </channel>
</rss>

