PolyBase error - 100001;Failed to generate query plan.

Published 03-01-2021 08:46 AM 787 Views
Microsoft

Problem

We've seen several cases come in lately where customers have been trying to use PolyBase feature and encountering "Failed to generate query plan" error. Depending on which command you run, the error will display differently.

 

  1. CREATE EXTERNAL TABLE or CREATE EXTERNAL DATA SOURCE command fails with:

 

Msg 110813, Level 16, State 1, Line 21

100001;Failed to generate query plan.

 

  1. SELECT from an existing external table fails with:

 

Msg 7320, Level 16, State 110, Line 1

Cannot execute the query "Remote Query" against OLE DB provider "MSOLEDBSQL" for linked server "(null)". 100001;Failed to generate query plan.

 

In either of the above scenarios, if you open the <ServerName>_<InstanceName>_DWEngine_errors.log, you'll see an error like the following:

 

{datetime} [Thread:<ThreadID>] [ServerInterface:InformationEvent] (Info, Normal): Starting processor ExecuteMemoProcessor. [Session.SessionId:SID##][Session.IsTransactional:False][Query.QueryId:QID##]

{datetime} [Thread:<ThreadID>] [EngineInstrumentation:EngineQueryErrorEvent] (Error, High):

Microsoft.SqlServer.DataWarehouse.Common.ErrorHandling.UnexpectedStatementException: 100001;Failed to generate query plan. ---> Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoDeserializer.UnknownElementException: Unknown element DatabaseUser is found.

   at Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoDeserializer.MemoDeserializer.ShowMemoXMLState.HandleState(XmlReader reader, MemoDeserializer deserializer)

   at Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoDeserializer.MemoDeserializer.Deserialize(XmlReader reader)

   at Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoProvider.AbstractMemoGenerator.DeserializeMemoFromXML(SqlXml memoXml, ExecutionEnvironment executionEnvironment)

   --- End of inner exception stack trace ---

   at Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoProvider.AbstractMemoGenerator.DeserializeMemoFromXML(SqlXml memoXml, ExecutionEnvironment executionEnvironment)

   at Microsoft.SqlServer.DataWarehouse.Sql.Statements.OptimizedStatement.GenerateMemo(IMemoProvider memoProvider, IQPTelemetry queryProcessingTelemetry, Boolean isLocalShellSession)

   at Microsoft.SqlServer.DataWarehouse.Engine.Utils.EventUtils.PublishApplicationEventAndExecute(ApplicationEventTrigger beginTrigger, ApplicationEventTrigger endTrigger, ApplicationEventTrigger errorTrigger, ApplicationEventTrigger cancelTrigger, PublishedEventPayloadDelegate payload, Action callback)

   at Microsoft.SqlServer.DataWarehouse.Engine.Processors.ExecuteMemoProcessor.OnExecuteRequest()

   at Microsoft.SqlServer.DataWarehouse.Engine.Utils.EventUtils.PublishApplicationEventAndExecute(ApplicationEventTrigger beginTrigger, ApplicationEventTrigger endTrigger, ApplicationEventTrigger errorTrigger, ApplicationEventTrigger cancelTrigger, PublishedEventPayloadDelegate payload, Action callback)

   at Microsoft.SqlServer.DataWarehouse.Engine.Processors.AbstractProcessor.OnProcess()

   at Microsoft.SqlServer.DataWarehouse.Engine.Processors.AbstractProcessor.OnExecute() [Session.SessionId:SID##][Session.IsTransactional:False][Query.QueryId:QID##]

 

You may also observe a memory dump file (SQLDmpr*.dmp) created in SQLServerInstallDrive:\Program Files\Microsoft SQL Server\MSSQL15.<InstanceName>\MSSQL\Log\Polybase\dump.

 

The problem has only been observed in SQL Server 2019 on Windows.

 

Cause

The problem occurs when SQL Server Engine has been patched to at least Cumulative Update 8 (15.0.4073) and the PolyBase feature hasn't been updated to the same build.

 

The most common way of encountering this problem is to already have installed SQL Server 2019 and patched to CU8 and then subsequently add the PolyBase feature. When you add a feature to an existing SQL Server instance that has been patched, the feature added is still at the original RTM version. This isn't specific to PolyBase feature, but any feature added to an existing instance that has been patched. This would lead to problem with being unable to create the external table.

 

In order to get the error when selecting from the external table, you must have already successfully created the external table. We've seen this scenario when there's been some problem applying Cumulative Update 8 to the PolyBase feature, but installation of CU8 to the SQL Engine was successful. In scenarios like this, we've seen customers have uninstalled the PolyBase feature and reinstalled it, but then failed to subsequently apply CU8 to PolyBase feature.

 

How to Confirm

You must determine the SQL Server Engine version and PolyBase Engine version and compare.

 

Determine SQL Server Engine version.

This can be done a few different ways.

Check errorlog - at the top of the file errorlog (which you can find in SQLServerInstallDrive:\Program Files\Microsoft SQL Server\MSSQL15.<InstanceName>\MSSQL\Log) the first line in the file will show the version of SQL Server Engine. For example:

 

{datetime} Server      Microsoft SQL Server 2019 (RTM-CU8) (KB4577194) - 15.0.4073.23 (X64)

 

Connect to SQL Server and run the query

 

SELECT @@VERSION as SQLEngineVersion

 

The output will look something like:

 

SQLEngineVersion

------------------------------------------------------------------------------------------------------------

Microsoft SQL Server 2019 (RTM-CU8) (KB4577194) - 15.0.4073.23 (X64)

Sep 23 2020 16:03:08

Copyright (C) 2019 Microsoft Corporation

Developer Edition (64-bit) on Windows Server 2019 Datacenter 10.0 <X64> (Build 17763: ) (Hypervisor)

 

 

Determine PolyBase Engine version

PowerShell - if PolyBase Services are running, run the following command:

 

Get-Process mpdwsvc -FileVersionInfo | Format-Table -AutoSize

 

The output will look something like:

 

ProductVersion FileVersion                                 FileName                                                                                

-------------- -----------                                 --------                                                                                 

15.0.2000.5    2019.0150.2000.05 ((SQLServer).190924-2033) C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Binn\Polybase\mpdwsvc.exe

15.0.2000.5    2019.0150.2000.05 ((SQLServer).190924-2033) C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Binn\Polybase\mpdwsvc.exe

 

PowerShell - if PolyBase Services aren't running, run the following command:

 

cd 'C:\Program Files\Microsoft SQL Server'

ls mpdwsvc.exe -r -ea silentlycontinue | % versioninfo | Format-Table -AutoSize

 

The output will look something like:

 

ProductVersion FileVersion                                 FileName                                                                                 

-------------- -----------                                 --------                                                                                

15.0.2000.5    2019.0150.2000.05 ((SQLServer).190924-2033) C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Binn\Polybase\mpdwsvc.exe

 

If for some reason the two above examples don't work, you can use the original setup media and run SQL Discovery

  1. Start SQL Server setup (setup.exe)
  2. Click on Tools in left pane
  3. Click Installed SQL Server features discovery report. It will generate a Setup Discovery Report that will look something like this:

Microsoft SQL Server 2019 Setup Discovery Report

Product

Instance

Instance ID

Feature

Language

Edition

Version

Clustered

Configured

Microsoft SQL Server 2019

MSSQLSERVER

MSSQL15.MSSQLSERVER

Database Engine Services

1033

Developer Edition

15.0.4073.23

No

Yes

Microsoft SQL Server 2019

MSSQLSERVER

MSSQL15.MSSQLSERVER

SQL Server Replication

1033

Developer Edition

15.0.4073.23

No

Yes

Microsoft SQL Server 2019

MSSQLSERVER

MSSQL15.MSSQLSERVER

PolyBase Query Service for External Data

1033

Developer Edition

15.0.2000.5

No

Yes

Microsoft SQL Server 2019

MSSQLSERVER

MSSQL15.MSSQLSERVER

PolybaseCore\PolybaseJava

1033

Developer Edition

15.0.2000.5

No

Yes

Microsoft SQL Server 2019

MSSQLSERVER

MSSQL15.MSSQLSERVER

Azul-Java-Runtime

1033

Developer Edition

15.0.2000.5

No

Yes

 

You can check KB4518398 - SQL Server 2019 build versions (microsoft.com) to see which ProductVersion value corresponds to which Cumulative Update.

 

Compare Versions

If the versions don't match and PolyBase Engine version is less than SQL Server Engine, and SQL Server Engine is at least 15.0.4073, then you have confirmed the problem is due to not having applied the same Cumulative Update to PolyBase feature.

 

Resolution

To resolve this issue, you need to apply the same Cumulative Update to PolyBase features that SQL Engine is already on.

 

Additional Information

  1. In Cumulative Update 8 there was a change made to the XML memo that is sent from SQL Server Engine to PolyBase Engine. If the PolyBase Engine is on a build prior to CU8, it will be unable to "deserialize" the memo and throw this error because it cannot generate a query plan.
  1. In general, any time any feature is added to an existing SQL Server instance that has been patched, you need to reapply the same patch to bring the feature to same build.

 

1 Comment
Frequent Visitor

 

Spoiler

I have done all this, but still have the same issue. 100001;Failed to generate query plan. The Polybase feature and the database has the same level.

I've got:

 

 

Microsoft SQL Server 2019 (RTM-CU9) (KB5000642) - 15.0.4102.2 (X64) Jan 25 2021 20:16:12 Copyright (C) 2019 Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2016 Standard 10.0 <X64> (Build 14393: ) (Hypervisor) 

 

ProductVersion FileVersion FileName
-------------- ----------- --------
15.0.4102.2 2019.0150.4102.02 ((SQL19_RTM_QFE-CU).210126-0356) C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Binn\Polybase\mpdwsvc.exe
15.0.4102.2 2019.0150.4102.02 ((SQL19_RTM_QFE-CU).210126-0356) C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\Binn\Polybase\mpdwsvc.exe

%3CLINGO-SUB%20id%3D%22lingo-sub-2174693%22%20slang%3D%22en-US%22%3EPolyBase%20error%20-%20100001%3BFailed%20to%20generate%20query%20plan.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2174693%22%20slang%3D%22en-US%22%3E%3CP%3E%3CFONT%20size%3D%226%22%3E%3CSTRONG%3EProblem%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EWe've%20seen%20several%20cases%20come%20in%20lately%20where%20customers%20have%20been%20trying%20to%20use%20PolyBase%20feature%20and%20encountering%20%22Failed%20to%20generate%20query%20plan%22%20error.%20Depending%20on%20which%20command%20you%20run%2C%20the%20error%20will%20display%20differently.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECREATE%20EXTERNAL%20TABLE%20or%20CREATE%20EXTERNAL%20DATA%20SOURCE%20command%20fails%20with%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMsg%20110813%2C%20Level%2016%2C%20State%201%2C%20Line%2021%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E100001%3BFailed%20to%20generate%20query%20plan.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3ESELECT%20from%20an%20existing%20external%20table%20fails%20with%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMsg%207320%2C%20Level%2016%2C%20State%20110%2C%20Line%201%3C%2FP%3E%0A%3CP%3ECannot%20execute%20the%20query%20%22Remote%20Query%22%20against%20OLE%20DB%20provider%20%22MSOLEDBSQL%22%20for%20linked%20server%20%22(null)%22.%20%3CFONT%20color%3D%22%23FF0000%22%3E100001%3BFailed%20to%20generate%20query%20plan%3C%2FFONT%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20either%20of%20the%20above%20scenarios%2C%20if%20you%20open%20the%20%3CSERVERNAME%3E_%3CINSTANCENAME%3E_DWEngine_errors.log%2C%20you'll%20see%20an%20error%20like%20the%20following%3A%3C%2FINSTANCENAME%3E%3C%2FSERVERNAME%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%7Bdatetime%7D%20%5BThread%3A%3CTHREADID%3E%5D%20%5BServerInterface%3AInformationEvent%5D%20(Info%2C%20Normal)%3A%20Starting%20processor%20ExecuteMemoProcessor.%20%5BSession.SessionId%3ASID%23%23%5D%5BSession.IsTransactional%3AFalse%5D%5BQuery.QueryId%3AQID%23%23%5D%3C%2FTHREADID%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%7Bdatetime%7D%20%5BThread%3A%3CTHREADID%3E%5D%20%5BEngineInstrumentation%3AEngineQueryErrorEvent%5D%20(Error%2C%20High)%3A%3C%2FTHREADID%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3EMicrosoft.SqlServer.DataWarehouse.Common.ErrorHandling.UnexpectedStatementException%3A%20%3CFONT%20color%3D%22%23FF0000%22%3E100001%3BFailed%20to%20generate%20query%20plan%3C%2FFONT%3E.%20---%26gt%3B%20Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoDeserializer.UnknownElementException%3A%20%3CFONT%20color%3D%22%23FF0000%22%3EUnknown%20element%20DatabaseUser%20is%20found%3C%2FFONT%3E.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoDeserializer.MemoDeserializer.ShowMemoXMLState.HandleState(XmlReader%20reader%2C%20MemoDeserializer%20deserializer)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoDeserializer.MemoDeserializer.Deserialize(XmlReader%20reader)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoProvider.AbstractMemoGenerator.DeserializeMemoFromXML(SqlXml%20memoXml%2C%20ExecutionEnvironment%20executionEnvironment)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20---%20End%20of%20inner%20exception%20stack%20trace%20---%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoProvider.AbstractMemoGenerator.DeserializeMemoFromXML(SqlXml%20memoXml%2C%20ExecutionEnvironment%20executionEnvironment)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Sql.Statements.OptimizedStatement.GenerateMemo(IMemoProvider%20memoProvider%2C%20IQPTelemetry%20queryProcessingTelemetry%2C%20Boolean%20isLocalShellSession)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Engine.Utils.EventUtils.PublishApplicationEventAndExecute(ApplicationEventTrigger%20beginTrigger%2C%20ApplicationEventTrigger%20endTrigger%2C%20ApplicationEventTrigger%20errorTrigger%2C%20ApplicationEventTrigger%20cancelTrigger%2C%20PublishedEventPayloadDelegate%20payload%2C%20Action%20callback)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Engine.Processors.ExecuteMemoProcessor.OnExecuteRequest()%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Engine.Utils.EventUtils.PublishApplicationEventAndExecute(ApplicationEventTrigger%20beginTrigger%2C%20ApplicationEventTrigger%20endTrigger%2C%20ApplicationEventTrigger%20errorTrigger%2C%20ApplicationEventTrigger%20cancelTrigger%2C%20PublishedEventPayloadDelegate%20payload%2C%20Action%20callback)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Engine.Processors.AbstractProcessor.OnProcess()%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%20at%20Microsoft.SqlServer.DataWarehouse.Engine.Processors.AbstractProcessor.OnExecute()%20%5BSession.SessionId%3ASID%23%23%5D%5BSession.IsTransactional%3AFalse%5D%5BQuery.QueryId%3AQID%23%23%5D%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20may%20also%20observe%20a%20memory%20dump%20file%20(SQLDmpr*.dmp)%20created%20in%20SQLServerInstallDrive%3A%5CProgram%20Files%5CMicrosoft%20SQL%20Server%5CMSSQL15.%3CINSTANCENAME%3E%5CMSSQL%5CLog%5CPolybase%5Cdump.%3C%2FINSTANCENAME%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20problem%20has%20only%20been%20observed%20in%20SQL%20Server%202019%20on%20Windows.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%226%22%3E%3CSTRONG%3ECause%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EThe%20problem%20occurs%20when%20SQL%20Server%20Engine%20has%20been%20patched%20to%20at%20least%20Cumulative%20Update%208%20(15.0.4073)%20and%20the%20PolyBase%20feature%20hasn't%20been%20updated%20to%20the%20same%20build.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20most%20common%20way%20of%20encountering%20this%20problem%20is%20to%20already%20have%20installed%20SQL%20Server%202019%20and%20patched%20to%20CU8%20and%20then%20subsequently%20add%20the%20PolyBase%20feature.%20When%20you%20add%20a%20feature%20to%20an%20existing%20SQL%20Server%20instance%20that%20has%20been%20patched%2C%20the%20feature%20added%20is%20still%20at%20the%20original%20RTM%20version.%20This%20isn't%20specific%20to%20PolyBase%20feature%2C%20but%20any%20feature%20added%20to%20an%20existing%20instance%20that%20has%20been%20patched.%20This%20would%20lead%20to%20problem%20with%20being%20unable%20to%20create%20the%20external%20table.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20get%20the%20error%20when%20selecting%20from%20the%20external%20table%2C%20you%20must%20have%20already%20successfully%20created%20the%20external%20table.%20We've%20seen%20this%20scenario%20when%20there's%20been%20some%20problem%20applying%20Cumulative%20Update%208%20to%20the%20PolyBase%20feature%2C%20but%20installation%20of%20CU8%20to%20the%20SQL%20Engine%20was%20successful.%20In%20scenarios%20like%20this%2C%20we've%20seen%20customers%20have%20uninstalled%20the%20PolyBase%20feature%20and%20reinstalled%20it%2C%20but%20then%20failed%20to%20subsequently%20apply%20CU8%20to%20PolyBase%20feature.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%226%22%3E%3CSTRONG%3EHow%20to%20Confirm%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EYou%20must%20determine%20the%20SQL%20Server%20Engine%20version%20and%20PolyBase%20Engine%20version%20and%20compare.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EDetermine%20SQL%20Server%20Engine%20version.%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3EThis%20can%20be%20done%20a%20few%20different%20ways.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECheck%20errorlog%3C%2FSTRONG%3E%20-%20at%20the%20top%20of%20the%20file%20errorlog%20(which%20you%20can%20find%20in%20SQLServerInstallDrive%3A%5CProgram%20Files%5CMicrosoft%20SQL%20Server%5CMSSQL15.%3CINSTANCENAME%3E%5CMSSQL%5CLog)%20the%20first%20line%20in%20the%20file%20will%20show%20the%20version%20of%20SQL%20Server%20Engine.%20For%20example%3A%3C%2FINSTANCENAME%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%7Bdatetime%7D%20Server%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Microsoft%20SQL%20Server%202019%20(RTM-CU8)%20(KB4577194)%20-%20%3CFONT%20color%3D%22%23FF0000%22%3E15.0.4073%3C%2FFONT%3E.23%20(X64)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EConnect%20to%20SQL%20Server%20and%20run%20the%20query%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ESELECT%20%40%40VERSION%20as%20SQLEngineVersion%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20output%20will%20look%20something%20like%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ESQLEngineVersion%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E------------------------------------------------------------------------------------------------------------%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EMicrosoft%20SQL%20Server%202019%20(RTM-CU8)%20(KB4577194)%20-%20%3CFONT%20color%3D%22%23FF0000%22%3E15.0.4073%3C%2FFONT%3E.23%20(X64)%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ESep%2023%202020%2016%3A03%3A08%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ECopyright%20(C)%202019%20Microsoft%20Corporation%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EDeveloper%20Edition%20(64-bit)%20on%20Windows%20Server%202019%20Datacenter%2010.0%20%3CX64%3E%20(Build%2017763%3A%20)%20(Hypervisor)%3C%2FX64%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EDetermine%20PolyBase%20Engine%20version%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPowerShell%3C%2FSTRONG%3E%20-%20%3CU%3Eif%20PolyBase%20Services%20are%20running%3C%2FU%3E%2C%20run%20the%20following%20command%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EGet-Process%20mpdwsvc%20-FileVersionInfo%20%7C%20Format-Table%20-AutoSize%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20output%20will%20look%20something%20like%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3EProductVersion%20FileVersion%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FileName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E--------------%20-----------%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20--------%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E15.0.2000.5%26nbsp%3B%26nbsp%3B%26nbsp%3B%202019.0150.2000.05%20((SQLServer).190924-2033)%20C%3A%5CProgram%20Files%5CMicrosoft%20SQL%20Server%5CMSSQL15.MSSQLSERVER%5CMSSQL%5CBinn%5CPolybase%5Cmpdwsvc.exe%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E15.0.2000.5%26nbsp%3B%26nbsp%3B%26nbsp%3B%202019.0150.2000.05%20((SQLServer).190924-2033)%20C%3A%5CProgram%20Files%5CMicrosoft%20SQL%20Server%5CMSSQL15.MSSQLSERVER%5CMSSQL%5CBinn%5CPolybase%5Cmpdwsvc.exe%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EPowerShell%3C%2FSTRONG%3E%20-%20%3CU%3Eif%20PolyBase%20Services%20aren't%20running%3C%2FU%3E%2C%20run%20the%20following%20command%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3Ecd%20'C%3A%5CProgram%20Files%5CMicrosoft%20SQL%20Server'%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3Els%20mpdwsvc.exe%20-r%20-ea%20silentlycontinue%20%7C%20%25%20versioninfo%20%7C%20Format-Table%20-AutoSize%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20output%20will%20look%20something%20like%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3EProductVersion%20FileVersion%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FileName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E--------------%20-----------%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20--------%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%222%22%3E15.0.2000.5%26nbsp%3B%26nbsp%3B%26nbsp%3B%202019.0150.2000.05%20((SQLServer).190924-2033)%20C%3A%5CProgram%20Files%5CMicrosoft%20SQL%20Server%5CMSSQL15.MSSQLSERVER%5CMSSQL%5CBinn%5CPolybase%5Cmpdwsvc.exe%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EIf%20for%20some%20reason%20the%20two%20above%20examples%20don't%20work%3C%2FSTRONG%3E%2C%20you%20can%20use%20the%20original%20setup%20media%20and%20run%20SQL%20Discovery%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EStart%20SQL%20Server%20setup%20(setup.exe)%3C%2FLI%3E%0A%3CLI%3EClick%20on%20Tools%20in%20left%20pane%3C%2FLI%3E%0A%3CLI%3EClick%20Installed%20SQL%20Server%20features%20discovery%20report.%20It%20will%20generate%20a%20Setup%20Discovery%20Report%20that%20will%20look%20something%20like%20this%3A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EMicrosoft%20SQL%20Server%202019%20Setup%20Discovery%20Report%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22104%22%3E%3CP%3E%3CSTRONG%3EProduct%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2282%22%3E%3CP%3E%3CSTRONG%3EInstance%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22103%22%3E%3CP%3E%3CSTRONG%3EInstance%20ID%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22132%22%3E%3CP%3E%3CSTRONG%3EFeature%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2273%22%3E%3CP%3E%3CSTRONG%3ELanguage%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSTRONG%3EEdition%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2279%22%3E%3CP%3E%3CSTRONG%3EVersion%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2273%22%3E%3CP%3E%3CSTRONG%3EClustered%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2268%22%3E%3CP%3E%3CSTRONG%3EConfigured%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22105%22%3E%3CP%3EMicrosoft%20SQL%20Server%202019%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2282%22%3E%3CP%3EMSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22103%22%3E%3CP%3EMSSQL15.MSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22132%22%3E%3CP%3EDatabase%20Engine%20Services%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3E1033%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2287%22%3E%3CP%3EDeveloper%20Edition%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2279%22%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E15.0.4073%3C%2FFONT%3E.23%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3ENo%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2258%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22105%22%3E%3CP%3EMicrosoft%20SQL%20Server%202019%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2282%22%3E%3CP%3EMSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22103%22%3E%3CP%3EMSSQL15.MSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22132%22%3E%3CP%3ESQL%20Server%20Replication%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3E1033%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2287%22%3E%3CP%3EDeveloper%20Edition%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2279%22%3E%3CP%3E15.0.4073.23%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3ENo%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2258%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22105%22%3E%3CP%3EMicrosoft%20SQL%20Server%202019%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2282%22%3E%3CP%3EMSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22103%22%3E%3CP%3EMSSQL15.MSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22132%22%3E%3CP%3EPolyBase%20Query%20Service%20for%20External%20Data%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3E1033%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2287%22%3E%3CP%3EDeveloper%20Edition%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2279%22%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E15.0.2000%3C%2FFONT%3E.5%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3ENo%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2258%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22105%22%3E%3CP%3EMicrosoft%20SQL%20Server%202019%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2282%22%3E%3CP%3EMSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22103%22%3E%3CP%3EMSSQL15.MSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22132%22%3E%3CP%3EPolybaseCore%5CPolybaseJava%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3E1033%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2287%22%3E%3CP%3EDeveloper%20Edition%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2279%22%3E%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E15.0.2000%3C%2FFONT%3E.5%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3ENo%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2258%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22105%22%3E%3CP%3EMicrosoft%20SQL%20Server%202019%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2282%22%3E%3CP%3EMSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22103%22%3E%3CP%3EMSSQL15.MSSQLSERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22134%22%3E%3CP%3EAzul-Java-Runtime%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3E1033%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2287%22%3E%3CP%3EDeveloper%20Edition%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2279%22%3E%3CP%3E15.0.2000.5%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2271%22%3E%3CP%3ENo%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2258%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20check%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Ftopic%2Fkb4518398-sql-server-2019-build-versions-782ed548-1cd8-b5c3-a566-8b4f9e20293a%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EKB4518398%20-%20SQL%20Server%202019%20build%20versions%20(microsoft.com)%3C%2FA%3E%20to%20see%20which%20ProductVersion%20value%20corresponds%20to%20which%20Cumulative%20Update.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3ECompare%20Versions%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EIf%20the%20versions%20don't%20match%20and%20PolyBase%20Engine%20version%20is%20less%20than%20SQL%20Server%20Engine%2C%20and%20SQL%20Server%20Engine%20is%20at%20least%2015.0.4073%2C%20then%20you%20have%20confirmed%20the%20problem%20is%20due%20to%20not%20having%20applied%20the%20same%20Cumulative%20Update%20to%20PolyBase%20feature.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%226%22%3E%3CSTRONG%3EResolution%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3ETo%20resolve%20this%20issue%2C%20you%20need%20to%20apply%20the%20same%20Cumulative%20Update%20to%20PolyBase%20features%20that%20SQL%20Engine%20is%20already%20on.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAdditional%20Information%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EIn%20Cumulative%20Update%208%20there%20was%20a%20change%20made%20to%20the%20XML%20memo%20that%20is%20sent%20from%20SQL%20Server%20Engine%20to%20PolyBase%20Engine.%20If%20the%20PolyBase%20Engine%20is%20on%20a%20build%20prior%20to%20CU8%2C%20it%20will%20be%20unable%20to%20%22deserialize%22%20the%20memo%20and%20throw%20this%20error%20because%20it%20cannot%20generate%20a%20query%20plan.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3EIn%20general%2C%20any%20time%20any%20feature%20is%20added%20to%20an%20existing%20SQL%20Server%20instance%20that%20has%20been%20patched%2C%20you%20need%20to%20reapply%20the%20same%20patch%20to%20bring%20the%20feature%20to%20same%20build.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Mar 01 2021 08:46 AM
Updated by: