Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Only 1st column in tMap CSV file valued for constraint

Hello,

 

Thanks for your help in advance.

I'm having an issue where only the 1st column of my CSV file is being considered for constraints.

I've setup tMap (attached) to pick up erroneous rows and reject them into a Reject.CSV file.

When the job is run and a constraint column other than column 1 is found, it gives me an Oracle error.

Not sure why the tMap isn't picking up other columns.  Please see attached.

 

Thanks

Labels (3)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

Since you're using open studio you need to do manual check only.

View solution in original post

15 Replies
manodwhb
Champion II
Champion II

What error are you getting?
Anonymous
Not applicable
Author

@manodwhb the error is an Oracle error that I cannot enter a NULL value is a non-null column.  But the columns I have specified in "LOADED" connection in tMap should all be checked for NULL values, and they should be sent to REJECTED connection if they are NULL, or am I missing something here?  But this is only happening for the first column which works fine, the rest of the columns are not checked if they are NULL and therefore I'm getting errors.  Please take a look at the first posting for the screenshots.

manodwhb
Champion II
Champion II

How are you checking the null validation? Are you writing some expression enable or disable filter expression in the output of tmap ?
Anonymous
Not applicable
Author

@manodwhb No, I just have the "Loaded" tMap connection transferring the columns with the same constraints as I have in the Oracle table.  The "ErrorReject" connection (I disabled Die on Error) has the same setup which is where it should create the CSV file with rejects.  I don't have any expressions to check, do I need to?  I thought that the "Die on Error" and "ErrorReject" options would accommodate this fact.

 

Thanks again for your help.

manodwhb
Champion II
Champion II

How does it validate the constrian ? Take loaded one output from the tmap and connect tdboutput and take the reject from tdboutput.
Anonymous
Not applicable
Author

@manodwhb Sorry, should have added screenshots embedded in the message.

Here is my current setup.  How do you propose I should adjust it?

 

Thanks

 

0683p000009M9RX.png0683p000009M9Rc.png0683p000009M9Dv.png

manodwhb
Champion II
Champion II

In tmap only have loaded one and connect to tdboutput. From the tdboutput take reject link and connect to tfileoutputdelimited.
Anonymous
Not applicable
Author

@manodwhb that would make much more sense.  I can't seem to find the Reject link at tdboutput though.

manodwhb
Champion II
Champion II

Are you using enterprise Talend?