IBM Support

JR60940: HANDLE IDENTITY COLUMNS WHEN USING LOAD FUNCTIONALITY IN SNOWFLAKE CONNECTOR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • "net.snowflake.client.jdbc.SnowflakeSQLException: Number of
    columns in file (2) does not match that of the corresponding
    table (3), use file format option
    error_on_column_count_mismatch=false to ignore this error
      File 'loadfile_0_1551113164352.txt.gz', line 2, character 1
      Row 1 starts at line 1, column "MYTABLE"["C2":2]
    

Local fix

  • As a workaround ,asked to use Writemode = Insert for this case
    instead of Load from file.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Datastage jobs which use Snowflake connector in target context.
    ****************************************************************
    PROBLEM DESCRIPTION:
    If a table has identity column and if that column is not
    specified in the Job design then LOAD functionality fails.
    ****************************************************************
    RECOMMENDATION:
    Apply patch JR60940
    ****************************************************************
    

Problem conclusion

  • Fixed code to make LOAD functionality work even if identity
    columns are not specified in the job design, this is done by
    executing the COPY command with a select statement that contains
     columns defined in the job.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR60940

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-08

  • Closed date

    2019-08-20

  • Last modified date

    2019-08-20

  • 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

  • RB70 PSY

       UP

  • RB71 PSY

       UP

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

Document Information

Modified date:
17 October 2021