DB2 - Problembeschreibung
Problem IT00414 | Status: Geschlossen |
DB2 MIGHT RETURN EXTRA ROWS WHEN AN EQUAL JOIN PREDICATE ON COLUMNS INVOLVES NON-CAST EXPRESSIONS. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
DB2 might return extra rows when there is a combination of an equal join predicate between columns and those same columns equijoined to non-cast expressions, like COALESCE or VALUE function. The following pseudo statement illustrates one of example to hit the condition. select from (select value(c1, x) as c1 c2 ... ) as t1 inner join (select value(c1, x) as c1 c2 ....) as t2 on t1.c1 = t2.c1 This problem exists in v10.1 only, and HSJOIN needs to be involved. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Users who run SQLs described in the APAR text. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Please upgrade to DB2 V10.1 Fixpack 4 or later. * **************************************************************** | |
Local-Fix: | |
Please set DB2_REDUCED_OPTIMIZATION=NO_HJEXP to bypass this issue. The -im option allows users not to restart the instance, but drive to compile the query. db2set DB2_REDUCED_OPTIMIZATION=NO_HJEXP -im | |
verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows | |
Lösung | |
This problem was first fixed in DB2 V10.1 Fixpack 4. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 20.03.2014 09.06.2014 09.06.2014 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.4 |