IBM Support

JR54612: UNABLE TO SPECIFY DEFAULT VALUE FOR TIMESTAMP COLUMNS FOR TERADATA

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

  • Unable to assign a default value to a Timestamp column with the
    TIMESTAMP keyword.
    The value set is enclosed with single quotes in the  generated
    DDL and the generated DDL is invalid.
    
    Observed for Teradata Physical Data Models.
    
    
    
    Use case:
    
    The generated DDL:
    
    
    
    CREATE SET TABLE PDM.test_dflt_ts (
    
    RECORD_DELETED_FLAG BYTEINT TITLE 'Record Deleted Flag' NOT NULL
    DEFAULT 0 COMPRESS (0,1),
    
    START_TS TIMESTAMP WITH TIME ZONE TITLE 'Start Timestamp' NOT
    NULL   DEFAULT CURRENT_TIMESTAMP,
    
    END_TS TIMESTAMP WITH TIME ZONE TITLE 'End Timestamp' NOT NULL
    DEFAULT  'TIMESTAMP ''9999-12-31 23:59:59+10:00''',
    
    BANK_ID VARCHAR(20) TITLE 'Bank Id' NOT NULL,
    
    BRANCH_ID VARCHAR(20) TITLE 'Branch Id' NOT NULL
    
    )
    
    PRIMARY INDEX (BRANCH_ID);
    
    
    
    Teradata Error:
    
    Executed as Single statement.    Failed [3630 : 22018] Default
    value
    incompatible with type of column END_TS.
    
    Elapsed time = 00:00:00.032
    
    
    
    STATEMENT 1: Create Table failed.
    

Local fix

Problem summary

  • Unable to specify default value for timestamp columns for
    teradata physical data model.
    

Problem conclusion

  • This problem was fixed in InfoSphere Data Architect v9.1.3 APAR
    1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54612

  • Reported component name

    INFO DATA ARCHI

  • Reported component ID

    5724V1500

  • Reported release

    912

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-04

  • Closed date

    2017-05-12

  • Last modified date

    2017-05-12

  • 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

    INFO DATA ARCHI

  • Fixed component ID

    5724V1500

Applicable component levels

  • R913 PSN

       UP

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

Document Information

Modified date:
12 May 2017