Page 1 of 1

RCP error

Posted: Thu Jun 02, 2016 3:47 am
by vamsi_4a6
I am using below schema file and source file.one to one mapping between source and target.

Job was aborted with below error:

The connector could not create table SAMP_EMP because the data type information for the column No could not be obtained.

samp_emp.txt
1,a
2,b
3,c

temp.osh
record
(
No:string[];
Name:string[];
)


sequentialfile-->transformer-->oracle connector

Posted: Thu Jun 02, 2016 6:01 am
by chulett
Carefully read the error message again... it's not a RCP error, per se.

Posted: Thu Jun 02, 2016 11:13 am
by Teej
That sounds like a defect to me. I can not think of any reason why the Oracle Connector can not interpret No as string[]. Maybe it's a limitation for the Oracle Connector in creating a table?

Does it work when you are inserting into an existing table?

-T.J.

Posted: Thu Jun 02, 2016 11:37 am
by chulett
Sounded more like 'I accidentally checked the Create Table option' to me... and yes, you would need a value for column's precision for Oracle to be able to create the table. If that's really what they wanted.