Using Data Services BI4.0 SP2 Patch 1
Oracle 11g
An error is found when building a workflow transforming a table A to a template table B
Data flow DF_XXXX|Reader Query
SQL submitted to Oracle Server <XXXX> resulted in error <ORA-12899: value too large for column
"XXXX"."TEMP_TABLE_B"."PROCESSING_LOG" (actual: 1001, maximum: 1000)
Per checking, I found Data Services created a template table B without using CHAR for VARCHAR2
desc table A;
Name Null Type
------------------ -------- -------------------
ROW_ID NOT NULL VARCHAR2(15 CHAR)
CREATED NOT NULL DATE
CREATED_BY NOT NULL VARCHAR2(15 CHAR)
LAST_UPD NOT NULL DATE
LAST_UPD_BY NOT NULL VARCHAR2(15 CHAR)
MODIFICATION_NUM NOT NULL NUMBER(10)
CONFLICT_ID NOT NULL VARCHAR2(15 CHAR)
PROCESSING_LOG VARCHAR2(1000 CHAR)
desc table B;
Name Null Type
------------------ ---- --------------
ROW_ID VARCHAR2(15)
CREATED DATE
CREATED_BY VARCHAR2(15)
LAST_UPD DATE
LAST_UPD_BY VARCHAR2(15)
MODIFICATION_NUM NUMBER(10)
CONFLICT_ID VARCHAR2(15)
PROCESSING_LOG VARCHAR2(1000)
I think the error is due to Data Services trying to write the 1000 characters (1001 byte) to the template table of 1000byte.
I can't find any settings in Data Services on controlling the behaviour. Is it a bug?