I'm facing some troubles trying to create a full generic job. The general idea is that I have to load on different oracle tables data coming from different files (and thus, having different schema).
There I'm struggling with some issue using an orchestrate schema with a column import
Code: Select all
record {record_delim='\n', charset='UTF8', final_delim=end, delim_string='|', quote=none, null_field=''}
( E1_FILE_NAME: ustring[max=60];
E1_PARENT_GUID: ustring[max=36];
E1_TRANSACTION_ID: ustring[max=60];
E1_TRANSACTION_LN: ustring[max=20];
EIP_CTL_ID: ustring[max=25];
SETID: ustring[max=5];
BUSINESS_UNIT: ustring[max=5];
EIP_DTA_STATUS: ustring[max=1];
EIP_PROGRAM: ustring[max=10];
EIP_SOURCE: ustring[max=1];
EIP_REFERENCE: ustring[max=30];
ORIG_DT_TIMESTAMP: nullable timestamp[microseconds];
LASTUPDDTTM: nullable timestamp[microseconds];
OPRID: ustring[max=30];
PUBNODE: ustring[max=30];
CHNLNAME: ustring[max=30];
PUBID: decimal[38,0];
MSGNAME: ustring[max=30];
SUBNAME: ustring[max=30];
AUDIT_ACTN: ustring[max=1];
)
I got this error :
Code: Select all
Input buffer overrun at field "ORIG_DT_TIMESTAMP", at offset: 302
Code: Select all
Join_articles_CLN1.txt|20100913184558406|SYD3631-20110201171310140-2011-02-01 17:13:37-0000000003|0000000100|0000000000000000000000004|GROUP| | | | | | | | | | |0| | |
Join_articles_CLN1.txt|20100913184558406|SYD3631-20110201171310140-2011-02-01 17:13:37-0000000001|0000000100|0000000000000000000000002|GROUP| | | | | |2010-12-10 17:13:37.0000000001| | | | |0| | |
I've already gone through "nullable timestamp" and "Input buffer overrun" search on the forum, but I didn't found anything (except this and this).
Is it possible to get rid of this madness of nullable timestamp with OSH??? How could I get a working generic job i.e. without importing columns as varchar+type conversion?
Thanks in advance for any help
Eric