Hi,
Can someone help me with below.
My map gets input records from Oracle table on one Database and inserts records into a table in another Database.
one of the column say phone_number in my input Database is 40 size and the corresponding column (phone_number) on target Database is 30. Type tree input and output columns for this column is defined with 40 and 100 size respectively.
Say I have 100 records coming from input db out of which one record has data for the field phone_number with 35 bytes then type trees validate them successfully but map fails inserting this data into target db because target column is of size 30 bytes. This error is causing the entire map to fail, instead we want the map to process the rest all records ignoring the failure (or catching the db exeption). Is this possible?? If so, wat can be the options.
Thanks in advance!!
Can someone help me with below.
My map gets input records from Oracle table on one Database and inserts records into a table in another Database.
one of the column say phone_number in my input Database is 40 size and the corresponding column (phone_number) on target Database is 30. Type tree input and output columns for this column is defined with 40 and 100 size respectively.
Say I have 100 records coming from input db out of which one record has data for the field phone_number with 35 bytes then type trees validate them successfully but map fails inserting this data into target db because target column is of size 30 bytes. This error is causing the entire map to fail, instead we want the map to process the rest all records ignoring the failure (or catching the db exeption). Is this possible?? If so, wat can be the options.
Thanks in advance!!