- The query uses a constant or a column with fixed value (for example, implied from a predicate like column = <constant> when the column is selected).
- SQL Server uses parallel query execution plan that includes a stream aggregate operator that aggregates on the constant or fixed value (this stream aggregate operator can be introduced in queries that contain UNION operator in order to produce distinct output).
SQL Server 2012For SQL Server 2012, to resolve this issue, apply SQL Server 2012 Service Pack 2. For more information about bugs that are fixed in SQL Server 2012 SP2, click the following article number to view the article in the Microsoft Knowledge Base:
The issue was first fixed in the following cumulative update of SQL Server.
Article ID: 2939277 - Last Review: 25 Sep 2014 - Revision: 1