DB2 - Problembeschreibung
| Problem IT10218 | Status: Geschlossen |
IN A COLUMNAR DATABASE QUERIES MAY FAIL WITH -901 ERROR WHEN USING A CASE EXPRESSION THAT RETURNS A DECIMAL COLUMN. | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
| Problembeschreibung: | |
Queries may fail with -901 error when using a case expression
that returns a decimal column.
Description:
Under rare scenarios in a columnar database, queries using may
fail with a -901 error
if the following conditions are true:
1) The query uses a case expression that returns a decimal
column and
2) A NULL literal is used in one of the case condition and
3) This case expression is the input for a aggregate function.
eg. Select min(case when col1 = 1
then mincol
else null
end)
from bad
group by grpbycol; | |
| Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to v105 fp7 * **************************************************************** | |
| Local-Fix: | |
| Lösung | |
Fixed v105 fp7 | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 21.07.2015 25.01.2016 25.01.2016 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 10.5.0.7 |
|