Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
So I know how to capture rejected records of a file, like by using Row>Rejected. This does filter the rejected records,tells us which value is causing the issue and also which line. But it does not tells us which column does that value falls in.
I need to know which column's value has been rejected. Any help is appreciated. Thanks in advance.
Hi
Read all columns as string type, link the input component to tSchemaComplianceCheck and use a custom schema to check it,
tFileInputDelimited--main--tSchemaComplianceCheck --main-->tlogrow
--reject-->tlogrow
the reject flow contains all the information, the output looks like:
.--+----------+---------+-------------.
| tLogRow_1 |
|=-+----------+---------+------------=|
|id|newColumn1|errorCode|errorMessage |
|=-+----------+---------+------------=|
|a |elise |2 |id:wrong type|
'--+----------+---------+-------------'
Regards
Shong