IBM Support

PI81512: IMPLEMENT SUPPORT FOR DATE, TIMESTAMP, DECIMAL, VARCHAR, AND CHAR FOR THE IBM JSON SERDE IN BIGSQL 4.1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In BigInsights 4.1, BigSQL 4.1.0.2 attempting to use the
    supplied IBM JSON SerDe:
    com.ibm.biginsights.bigsql.serde.JSONSerDe
    with DATE datatype will result in errors similar to:
    SQL5105N  The statement failed because a Big SQL component
    encountered an error.
    Component receiving the error: "BigSQL IO". Component returning
    the error: "UNKNOWN". Log entry identifier:
    "[BSL-4-3afc7b9df]".  SQLSTATE=58040
    
    Retrieving further details on this specific error:
    db2 'select cast (line as varchar(200)) from table
    (syshadoop.log_entry('\''BSL-4-3afc7b9df'\''))'
    
    Shows issues with casting of data types:
            at
    com.ibm.biginsights.bigsql.dfsrw.reader.DfsParallelReader.read(D
    fsParallelReader.java:76)
    2017-04-27 15:15:57,365 ERROR
    com.ibm.biginsights.bigsql.dfsrw.reader.DfsBaseReader [Master
    S:24.1001.1.0.0.-29331] : [BSL-4-3afc4bab5] Exception raised by
    Reader at node: 4 Scan ID: S:24.1001.1.0.0.-
    SQL0445W  Value "2017-04-27 15:15:57,365 ERROR
    com.ibm.biginsights.bigsql.dfs"
    has been truncated.  SQLSTATE=01004
    Exception Label: UNMAPPED(java.lang.ClassCastException:
    java.lang.Long incompatible with java.sql.Timestamp)
    java.lang.ClassCastException: java.lang.Long incompatible with
    java.sql.Timestamp
    
    This applies also to TIMESTAMP, DECIMAL, VARCHAR, and
    CHAR data types.
    

Local fix

  • If on BigInsights 4.1, contact IBM PA Support to request
    Special Build for BigSQL 4.1 referencing this APAR.
    If on BigInsights 4.2, with BigSQL GA Release (i.e. the first
    release), contact IBM PA Support requesting details on access
    to BigSQL 4.2 DECEMBER refresh.
    

Problem summary

  • See error description
    

Problem conclusion

  • The problem is fixed in Version 5.0.0.0 and later fix packs
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI81512

  • Reported component name

    INFO BIGINSIGHT

  • Reported component ID

    5725C0900

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-12

  • Closed date

    2018-03-01

  • Last modified date

    2018-03-01

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

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

Modules/Macros

  • Unknown
    

Fix information

  • Fixed component name

    INFO BIGINSIGHT

  • Fixed component ID

    5725C0900

Applicable component levels

  • R425 PSY

       UP

[{"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":"410","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 August 2020