IBM Support

PH03945: FEDERATED QUERY WITH CASE/WHEN EXPRESSIONS ARE SLOW WHEN USING NETEZZA AS SOURCE DB

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Simple CASE/WHEN statements are prevented from being pushed
    down to the source when using Netezza as Source Database. Due
    to this, performance for queries using CASE/WHEN statements may
    be degraded.
    For example:
    Case 1: query in when-condition
    --------------------------------------
    CASE
    WHEN col1 =
        (SELECT
           DISTINCT col1
         FROM
           tab1
         WHERE
           col2 = -1
        )
    THEN 1
    ELSE 0 END AS OUTPUT
    .
    This APAR adds the required support to push down the following
    operations:
    .
                operator "="
                operator "||"
                expression CASE/WHNLIST/WHEN
                function SYSIBM.COALESCE()
                function SYSIBM.DATE()
                function SYSIBM.VARCHAR()
                function SYSIBM.INTEGER()
                function SYSIBM.TIME()
                function SYSIBM.ROUND()
    

Local fix

Problem summary

  • See problem description
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH03945

  • Reported component name

    IBM BIG SQL

  • Reported component ID

    5737E7400

  • Reported release

    502

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-10

  • Closed date

    2020-08-24

  • Last modified date

    2020-08-24

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCRJT","label":"IBM Db2 Big SQL"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"502","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 August 2020