<?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: Request to perform an external distributed computation has failed with error... in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3293395#M109</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315029" data-lia-user-login="JoshAsh" class="lia-mention lia-mention-user"&gt;JoshAsh&lt;/a&gt;&amp;nbsp;could you open a support case for this please?&amp;nbsp; We'd like to look deeper into this.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2023 13:52:32 GMT</pubDate>
    <dc:creator>KevinConanMSFT</dc:creator>
    <dc:date>2023-06-20T13:52:32Z</dc:date>
    <item>
      <title>Request to perform an external distributed computation has failed with error...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3290625#M105</link>
      <description>&lt;P&gt;When trying to run a realistic production query on Fabric Warehouse that we currently run on SQL Server I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Msg 15802, Level 16, State 16, Line 1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Request to perform an external distributed computation has failed with error "Assertion failed: Invalid child output DOP".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was the first query we tried..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done some playing, if i remove any construct in the query using COUNT(DISTINCT ...) there is no failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 10:29:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3290625#M105</guid>
      <dc:creator>JoshAsh</dc:creator>
      <dc:date>2023-06-19T10:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Request to perform an external distributed computation has failed with error...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3291409#M106</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;The queries from SQL Server would not execute as is on Synapse WH as the TSQL has some changes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;do you have a sample of the script you are trying to execute?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 16:13:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3291409#M106</guid>
      <dc:creator>justinj</dc:creator>
      <dc:date>2023-06-19T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Request to perform an external distributed computation has failed with error...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3291828#M107</link>
      <description>&lt;P&gt;I've had to change column and table names for security reasons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT 
		    COUNT(DISTINCT CASE WHEN UPPER(fee.blah) LIKE '%AMEP%' THEN c.blah ELSE NULL END) as DISTINCT_BLAH_COUNT,
			MAX(c.blah) as blah

		FROM dbo.TABLE1 a
		INNER JOIN dbo.TABLE2 d ON a.blah = d.blah
		INNER JOIN dbo.TABLE3 b ON a.blah = b.blah
		INNER JOIN dbo.TABLE4 dt ON a.blah = dt.blah
		INNER JOIN dbo.TABLE5 att ON a.blah = att.blah
		INNER JOIN dbo.TABLE6 c ON a.blah = c.blah
		INNER JOIN dbo.TABLE7 fc ON a.blah = fc.blah
		INNER JOIN dbo.TABLE8 age ON a.blah = age.blah
		LEFT JOIN  dbo.TABLE9 ft ON a.blah = ft.blah
		LEFT JOIN  dbo.TABLE10 fee ON a.blah = fee.blah
		LEFT JOIN  dbo.TABLE11 ccs ON a.blah = ccs.blah

		WHERE 
			d.blah in ('Centre','Discontinued') 
		   AND dt.blah &amp;gt;= 2019
		GROUP BY	
			a.blah,
			c.blah,
			fc.blah,
			dt.blah,
			dt.blah&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this is the simplest version I can make that is erroring. It's not really a complex query as you can see&lt;/P&gt;&lt;P&gt;Another errror happening occasionally is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Request to perform an external distributed computation has failed with error "Assertion failed: Degree of partitioned parallelism can only be 1 when the child operator distribution is full or when the session dop is 1"&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 21:49:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3291828#M107</guid>
      <dc:creator>JoshAsh</dc:creator>
      <dc:date>2023-06-19T21:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Request to perform an external distributed computation has failed with error...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3292523#M108</link>
      <description>&lt;P&gt;This is happening due to the COUNT(DISTINCT xyz) function as the data is distributed on Synapse Warehouse.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try using&amp;nbsp;&lt;SPAN&gt;APPROX_COUNT_DISTINCT instead and let me know if that works?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/t-sql/functions/approx-count-distinct-transact-sql?view=sql-server-ver16" target="_blank"&gt;APPROX_COUNT_DISTINCT (Transact-SQL) - SQL Server | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 07:30:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3292523#M108</guid>
      <dc:creator>justinj</dc:creator>
      <dc:date>2023-06-20T07:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Request to perform an external distributed computation has failed with error...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3293395#M109</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315029" data-lia-user-login="JoshAsh" class="lia-mention lia-mention-user"&gt;JoshAsh&lt;/a&gt;&amp;nbsp;could you open a support case for this please?&amp;nbsp; We'd like to look deeper into this.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 13:52:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3293395#M109</guid>
      <dc:creator>KevinConanMSFT</dc:creator>
      <dc:date>2023-06-20T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Request to perform an external distributed computation has failed with error...</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3293898#M110</link>
      <description>&lt;P&gt;Hey Kevin&lt;/P&gt;&lt;P&gt;Done -&amp;nbsp;&lt;SPAN&gt;2306200030005070&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 18:59:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Request-to-perform-an-external-distributed-computation-has/m-p/3293898#M110</guid>
      <dc:creator>JoshAsh</dc:creator>
      <dc:date>2023-06-20T18:59:49Z</dc:date>
    </item>
  </channel>
</rss>

