Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

reject output of tschemacompliance not working - TOS 6

Hi
Here is my job
http://prntscr.com/9k7q67
Reading a file having records 26586, one record is broken i.e date format is wrong as required.
26585 processed properly and 1 rejected but couldn't show up in output like tlogrow.
Any Help ?
Labels (2)
14 Replies
Anonymous
Not applicable
Author

Hi,
From your screenshot, there are only 26585 rows loaded from tfileinputdelimited.
Could you please try to drao "Rejects" from tfileinputdelimited to see if there is any rejected row?(check out the "Trim" option to trim the leading and trailing white space in tfileinputdelimited).
Best regards
Sabrina
0683p000009MCqF.png
Anonymous
Not applicable
Author

Hi xdshi
Yes I get the rejected row when I link tlogrow to reject of tfileinputdelimited.
But I'm asking, Why am not able to get rejected records from reject output of tschemacompliance ?
Anonymous
Not applicable
Author

Hi,
How did you set your tschemacompliance component? What does the expected result look like?
Best regards
Sabrina
Anonymous
Not applicable
Author

I'm having the kind of same issue !!
Anonymous
Not applicable
Author

Hi
In tschemacompliancecheck, I have select custom defined option. All columns are in string type except the date. The date format I have mentioned there is "dd/MM/yyyy" and its a required date format.
In tfileinputdelimited, I'm reading all columns as string again except the date format and I have given the date pattern "dd/MM/yyyy" with date data type.
I know I shouldn't give date type to date column in tfileinputdelimited according talend doc, but if I put date as a string as well and put tschema same as I have mentioned above, its rejecting not even a single record.
https://help.talend.com/search/all?query=tSchemaComplianceCheck
And yes I'm able to get get rejected records from tfileinputdelimited from reject out of that. But My concern is why not from tscehmacompliance if it has reject option in output ?
See here is my job
http://prntscr.com/9kogft
In result you can, there is one wrong record I was talking about having wrong date format. But that didn't flow from tschemcompliancecheck's reject output.
Help !!
Anonymous
Not applicable
Author

Hi,
There is unparseable date issue in your console. The one wrong record was rejected directly by tfileinputdelimited component because you set a wrong date pattern "dd/MM/yyyy"(2015-11-09, yyyy-MM-dd) in schema setting.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi ashish123,
What does your job design look like? More information will be preferred.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi
Yes exactly, there is one wrong date pattern present in file. But instead of error, that record should flow from the reject output of tschemacompliancecheck component.
Isn't it ?
Anonymous
Not applicable
Author

Hi,
Yes exactly, there is one wrong date pattern present in file. But instead of error, that record should flow from the reject output of tschemacompliancecheck component.

This record has been rejected by tfileinputdelimited component which means it can't be loaded into tschemacompliancecheck component.
You should make the record(2015-11-09) pass tfileinputdelimited component firstly without any error.
Have you tried to set it as "String" data type in tfileinputdelimited to see if tschemacompliancecheck component works?
Best regards
Sabrina