DB2 - Problembeschreibung
Problem IT06046 | Status: Geschlossen |
WHEN INTRA_PARALLEL ENABLED, QUERY WITH OLAP FUNCTION PARTITIONED BY A SCALAR RESULT MIGHT RETURN INCORRECT RESULTS | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
An incorrect result set might be produced when INTRA_PARALLEL is enabled for a SQL statement if all of the following conditions are met: (a) the statement contains an OLAP function with a PARTITION BY and ORDER BY clause (b) the partition by clause contains all columns that derive from a scalar result that is guaranteed to return at most one value, such as the "select max(a) ma from t1" in the following example select rownumber() over (partition by tmp.ma order by t2.b) from (select max(a) ma from t1) tmp(ma), t2; (c) the query degree of the access plan is > 1 | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 9.7 and Fix Pack 11 * **************************************************************** | |
Local-Fix: | |
To produce correct results, you can use the CURRENT DEGREE special register to set the degree of parallelism to 1. | |
Lösung | |
Problem was first fixed in DB2 version 9.7 and Fix Pack 11 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 11.12.2014 09.10.2015 09.10.2015 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7. | |
Problem behoben lt. FixList in der Version | |
9.7.0.11 |