Sign in with Microsoft
Sign in or create an account.

Symptoms

Assume that you use SQL Server 2019 with PolyBase feature installed. If PolyBase encounters an unexpected error during the distributed query optimization phase, and tries to create a memory dump to capture the state of the system, you may notice that the dump creation fails. In addition, you may receive the following error message in the engine service logs:


DateTime [Thread:ThreadId] [OptimizedStatement:ErrorEvent] (Error, High): DQO Dump - Unexpected exception during generating dump. [Session.SessionId:SID450][Session.IsTransactional:False][Query.QueryId:QueryId]

DateTime [Thread:ThreadId] [OptimizedStatement:ErrorEvent] (Error, High): 

System.NotImplementedException: The method or operation is not implemented.

   at Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoProvider.MemoGeneratorFromStream.GenerateMemoXml(String query)

   at Microsoft.SqlServer.DataWarehouse.Sql.Statements.OptimizedStatement.GenerateOptimizedStatementDumpHandler(OptimizedStatement optimizedStatement, Exception ex) 

DateTime [Thread:ThreadId] [OptimizedStatement:ErrorEvent] (Error, High): DQO Dump - Unexpected exception during generating dump. [Session.SessionId:SID477][Session.IsTransactional:False][Query.QueryId:QueryId]

DateTime [Thread:ThreadId] [OptimizedStatement:ErrorEvent] (Error, High): 

System.NotImplementedException: The method or operation is not implemented.

   at Microsoft.SqlServer.DataWarehouse.Sql.Optimizer.MemoProvider.MemoGeneratorFromStream.GenerateMemoXml(String query)

   at Microsoft.SqlServer.DataWarehouse.Sql.Statements.OptimizedStatement.GenerateOptimizedStatementDumpHandler(OptimizedStatement optimizedStatement, Exception ex) [Session.SessionId:SID477][Session.IsTransactional:False][Query.QueryId:QueryId]

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Resolution

This issue is fixed in the following cumulative update for SQL Server:

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×