home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC11 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT07387 Status: Closed

IWA ASSERTION POSSIBLE IN TEMPORAL_SUBSTRACT LEADING TO QUERY OFFLOAD
FAILURE 26402

product:
IFMX ULT WHSE E / IM0019BOS / C10 - IDS 12.10
Problem description:
When you attempt to offload a query to the Informix Warehouse 
Accelerator including an expression like 
 
 cast(max(x0.time_value) as date) < TODAY - 2 
 
you will receive an error 26402 for the offload attempt. 
Depending on the setting of use_dwa a fallback to the Informix 
server will be attempted or the query execution will be aborted. 
 
There will be an assertion shown in the messages file of the 
server running the Informix Warehouse Accelerator which will 
include this information: 
 
A query parsing error with description 'An assertion 'false' 
failed. Additional info: Cast not possible at TEMPORAL_SUBTRACT: 
{TEMPORAL_SUBTRACT:T0:     {CAST:T10: 
819:10:02/26/2015:T2(10,819): }   SINT16:2:T7: }  '
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users of Informix Server up to 12.10.xC4. Fixed in           * 
* 12.10.xC5.                                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Informix Server and Informix Warehouse            * 
* Accelerator Version 12.10.xC5 or newer.                      * 
****************************************************************
Local Fix:
When you specify UNITS for 2 in this example then you can 
prevent this offload failure. So with 
 
cast(max(x0.time_value) as date) < TODAY - 2 UNITS DAY 
 
the query should again be successfully offloaded.
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
27.02.2015
16.10.2015
16.10.2015
Problem solved at the following versions (IBM BugInfos)
12.10.xC5
Problem solved according to the fixlist(s) of the following version(s)
12.10.xC5 FixList
12.10.xC5.W1 FixList