Informix - Problem description
Problem IT43206 | Status: Closed |
LAG() AND LEAD() OLAP RANKING FUNCTIONS CORRUPTING LARGER RESULTSETS WITH IGNORE NULLS | |
product: | |
INFORMIX SERVER / 5725A3900 / E10 - | |
Problem description: | |
When using LAG() or LEAD() OLAP functions with IGNORE NULLS on a sufficiently large result set containing NULL values, the result set would see some of its rows replaced by duplicates of others. E.g. the following query would produce select hex(rowid) rowid, *, lag(c,1) ignore nulls over (order by s) lag_1 from test_tab order by s; rowid s c lag_1 0x00000101 1 1 0x00000101 1 1 0x00000102 2 2 1 0x00000102 2 2 1 0x00000103 3 3 2 0x00000103 3 3 2 0x00000104 4 4 3 0x00000104 4 4 3 instead of rowid s c lag_1 0x00000101 1 1 0x00000102 2 2 1 0x00000103 3 3 2 0x00000104 4 4 3 0x00000105 5 5 4 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC16 and 14.10.xC11. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 or 14.10.xC11 (when * * available). * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC16 and 14.10.xC11. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 or 14.10.xC11 (when * * available). * **************************************************************** | |
Comment | |
Fixed in Informix Server 12.10.xC16 and 14.10.xC11. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 24.02.2023 18.05.2023 18.05.2023 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |