IBM Support

JR45583: Job with user SQL fails to optimize due to different case sensitivities of column names in query and stage level names

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Optimization fails when upper/lower case in column name is
    dfferent.
    
    The job provided by the customer has input Netezza Stage with a
    "User defined Query "  ------>  "select col1 from GYH001" where
    as in the schema part declared under "Columns tab " the
    corresponding column is mentioned as "COL1" (In Upper case ) .
    This is the root cause of optimization failure  as optimizer is
    having a issue to recognize and  parse the column names from the
    "select " query .
    

Local fix

  • declare the Column as "col1"(Lower case ) in columns tab (or)
    rewrite the select query as "select COL1 from tab1" (Just to
    make sure that column name in the select query and columns tab
    are same and have same case )
    

Problem summary

  • ERROR DESCRIPTION:
    Optimization fails when upper/lower case in column name is
    dfferent.
    
    The job provided by the customer has input Netezza Stage with a
    "User defined Query "  ------>  "select col1 from GYH001" where
    as in the schema part declared under "Columns tab " the
    corresponding column is mentioned as "COL1" (In Upper case ) .
    This is the root cause of optimization failure  as optimizer is
    having a issue to recognize and  parse the column names from the
    "select " query .
    
    LOCAL FIX:
    declare the Column as "col1"(Lower case ) in columns tab (or)
    rewrite the select query as "select COL1 from tab1" (Just to
    make sure that column name in the select query and columns tab
    are same and have same case )
    

Problem conclusion

  • Install the patch containing this APAR fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR45583

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    870

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-30

  • Closed date

    2013-04-09

  • Last modified date

    2013-04-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

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R870 PSY

       UP

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
09 April 2013