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

Séparator check

Hello,

I want to do a separator check in an incoming CSV file, for example, if I have a separator other than";" I reject the file, otherwise I continue my processing.

 

Big Thanks

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi,

 

    You will have to count the ";" separator if you would like to validate whether the record is matching the schema. But this means you will have to read the file twice one as full row and another in delimited format. So I would not suggest this method for big volumes.

 

      Another interesting method is to read the data and pass it to tFileComplianceCheck  component. This is a better idea since you can segregate the good and bad records separately. I would suggest you to create a sample job and test your use case.

 

If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome 🙂

 

Warm Regards,

 

Nikhil Thampi