<?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 Getting error : Analysis Exception : olumn Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3901#M781</link>
    <description>&lt;P&gt;AnalysisException:  Column Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark is unable to figure out which one. Please alias the Datasets with different names via `Dataset.as` before joining them, and specify the column using qualified name, e.g. `df.as("a").join(df.as("b"), $"a.id" &amp;gt; $"b.id")`. You can also set spark.sql.analyzer.failAmbiguousSelfJoin to false to disable this check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code &lt;/P&gt;&lt;P&gt;reguhjoin = reguhjoin.join(bseg_4j_c2, reguhjoin.conc2 == bseg_4j_c2['Concatenate 2'], how='left').select(reguhjoin["*"], bseg_4j_c2["Is There a PO"])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code is working fine in lower environments and we try to migrate to PRD and getting above error, please suggest.&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 16:15:23 GMT</pubDate>
    <dc:creator>vijaykumarbotla</dc:creator>
    <dc:date>2023-05-29T16:15:23Z</dc:date>
    <item>
      <title>Getting error : Analysis Exception : olumn Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3901#M781</link>
      <description>&lt;P&gt;AnalysisException:  Column Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark is unable to figure out which one. Please alias the Datasets with different names via `Dataset.as` before joining them, and specify the column using qualified name, e.g. `df.as("a").join(df.as("b"), $"a.id" &amp;gt; $"b.id")`. You can also set spark.sql.analyzer.failAmbiguousSelfJoin to false to disable this check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code &lt;/P&gt;&lt;P&gt;reguhjoin = reguhjoin.join(bseg_4j_c2, reguhjoin.conc2 == bseg_4j_c2['Concatenate 2'], how='left').select(reguhjoin["*"], bseg_4j_c2["Is There a PO"])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code is working fine in lower environments and we try to migrate to PRD and getting above error, please suggest.&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 16:15:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3901#M781</guid>
      <dc:creator>vijaykumarbotla</dc:creator>
      <dc:date>2023-05-29T16:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error : Analysis Exception : olumn Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3903#M783</link>
      <description>&lt;P&gt;Yes it is the same issue, I have posted it twice mistakenly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 10:04:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3903#M783</guid>
      <dc:creator>vijaykumarbotla</dc:creator>
      <dc:date>2023-05-30T10:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error : Analysis Exception : olumn Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3904#M784</link>
      <description>&lt;P&gt;Does the column "Is There a PO" exists in both the dataframes i.e. reguhjoin and bseg_4j_c2?&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:04:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3904#M784</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2023-05-30T11:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error : Analysis Exception : olumn Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3905#M785</link>
      <description>&lt;P&gt;"Is There a PO" exists in bseg_4j_c2 dataframe, we are trying to include  bseg_4j_c2 dataframe into reguhjoin dataframe.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 00:56:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3905#M785</guid>
      <dc:creator>vijaykumarbotla</dc:creator>
      <dc:date>2023-05-31T00:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error : Analysis Exception : olumn Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3906#M786</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;the solution for this problem is very strange.&lt;/P&gt;&lt;P&gt;this has caused due to the version of the Databricks runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using Runtime version 7.0 with Apache Spark 3.0.0 version.&lt;/P&gt;&lt;P&gt;In PRD we are using Runtime version 11.3LTS with Apache Spark 3.3.0 version.&lt;/P&gt;&lt;P&gt;When we downgraded our PRD to 7.3 version with Apache Spark 3.0, the issue is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why the basic function of Join has changed from one version to another?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 13:56:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3906#M786</guid>
      <dc:creator>vijaykumarbotla</dc:creator>
      <dc:date>2023-05-31T13:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error : Analysis Exception : olumn Is There a PO#17748 are ambiguous. It's probably because you joined several Datasets together, and some of these Datasets are the same. This column points to one of the Datasets but Spark.</title>
      <link>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3902#M782</link>
      <description>&lt;P&gt;Hi, Is this the same issue as &lt;A href="https://community.databricks.com/s/feed/0D58Y0000AOTu0ySQD" alt="https://community.databricks.com/s/feed/0D58Y0000AOTu0ySQD" target="_blank"&gt;https://community.databricks.com/s/feed/0D58Y0000AOTu0ySQD&lt;/A&gt;? Please tag @Debayan Mukherjee​&amp;nbsp;, so that I will get notified with your next response. &lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 06:59:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/getting-error-analysis-exception-olumn-is-there-a-po-17748-are/m-p/3902#M782</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-05-30T06:59:10Z</dc:date>
    </item>
  </channel>
</rss>

