DB2 - Problem description
Problem IT10218 | Status: Closed |
IN A COLUMNAR DATABASE QUERIES MAY FAIL WITH -901 ERROR WHEN USING A CASE EXPRESSION THAT RETURNS A DECIMAL COLUMN. | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
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 Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to v105 fp7 * **************************************************************** | |
Local Fix: | |
Solution | |
Fixed v105 fp7 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 21.07.2015 25.01.2016 25.01.2016 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.7 |