IBM Support

IT17535: INSERT OF BSON DATA INTO EXTERNAL TABLE DOES NOT WORK

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • If you try to unload BSON data with the help of an external
    table, the file created won't contain the BSON data.
    
    Example:
    
    CREATE COLLECTION TABLE tab
      (
        aty_no      SERIAL NOT NULL PRIMARY KEY,
        data        BSON
      );
    
    INSERT INTO tab  VALUES (1,
    '{ "id":1,"value":"unknown","de":{"name":"unbekannt",
    "short_name":"unb"},"en":{"name":"unknown", "short_name":"unk"}
    }'
    ::JSON);
    
    CREATE EXTERNAL TABLE tab_ext (
        aty_no      SERIAL,
        data        BSON
    ) USING ( FORMAT 'DELIMITED',  DATAFILES ("DISK:<file>") );
    INSERT INTO tab_ext SELECT * FROM tab;
    
    <file> contains
    
    1|0x80|
    
    but not the BSON data.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Informix user with BSON in external table                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * 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

    IT17535

  • 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-10-17

  • 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

  • RA10 PSY

       UP

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

Document Information

Modified date:
09 December 2016