IBM Support

IT16124: QUERY WITH 2 OR MORE LEFT OUTER JOINS WILL RETURN WRONG RESULTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A query with 2 or more left outer joins will return wrong
    results.  If only one outer join is used, the results are
    correct.
    
    It does return the correct results if the --+avoid_hash
    directive is used.
    

Local fix

  • Use the +avoid_hash directive.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of 12.10.xC1 through 12.10.xC7.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * An ANSI OUTER JOIN query may return incorrect results under  *
    * the following conditions:                                    *
    *   - a hash join is being used to handle an outer join        *
    *   - the subservient table (which is the build side of the    *
    * hash join) is large such that the hash join build overflows  *
    *   - the subservient table is significantly larger than the   *
    * dominant side table(s) for this join                         *
    *   - a WHERE clause exists for the ANSI OUTER JOIN query, and *
    * it references a dominant side table                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IBM Informix Server 12.10.xC8                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IBM Informix Server 12.10.xC8
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT16124

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-14

  • Closed date

    2016-12-09

  • Last modified date

    2016-12-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10"}]

Document Information

Modified date:
14 December 2020