DB2 - Problembeschreibung
| Problem IC99415 | Status: Geschlossen |
DB2 MIGHT PRODUCE INCORRECT RESULTS WHEN EXECUTING QUERY WITH MULTIPLE "IN" LIST PREDICATES ON SAME COLUMN | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
| Problembeschreibung: | |
Under rare scenarios, DB2 might produce incorrect results if the
following conditions are true:
1) The query contains 2 or more "IN" LIST predicates
2) The predicates reference the same column and have at least 1
non-matching element between them
3) At least one of the "IN" LIST predicates has been pushed
deeper
into the query.
Example:
SELECT vv.col1, vv.col2, min (vi.col3) AS art
FROM (
SELECT v.col1 AS unr, min (v.col2) AS dat
FROM test.VIEW1 v
WHERE v.col3 IN (1, 2, 3, 4, 5, 7)
GROUP BY v.unr) vv,
test.VIEW1 vi
WHERE vv.unr = vi.col1 AND vv.dat = vi.col2
GROUP BY vv.unr, vv.dat; | |
| Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 10.1 fixpack 4 * **************************************************************** | |
| Local-Fix: | |
Modify the "IN" LIST predicate column to an expression. eg. column+0 for numeric columns | |
| verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows | |
| Lösung | |
Problem is fixed in DB2 version 10.1 fixpack 4 | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC99583 Nachfolger : | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 17.02.2014 23.07.2014 23.07.2014 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 10.1.0.4 |
|