goldenbutter
goldenbutter

Reputation: 589

pentaho column level validation

I am new in Pentaho project. Need to know about some validation rules whether these can be handled by PDI or not. My input data is CSV format and target is ORACLE table. Suppose total number of column is 50.

Validation Rules :

Any help is appreciated.

If anything required from me kindly reply.

Upvotes: 1

Views: 2097

Answers (2)

goldenbutter
goldenbutter

Reputation: 589

After lots of R&D it can be done by adding "Metadata Structure" under Utility in Transformation and load all column list into a text file.

Then create a Job and compare this text file with lookup text file (containing all target column list) by "File Compare" under File Management. Make a check option if true then invoke the final Transformation or if False send email notification.

Upvotes: 1

Gordon Seidoh Worley
Gordon Seidoh Worley

Reputation: 8068

Yes. There are steps that will allow you to identify all of these things.

More generally, if you want to do something in Kettle and don't see a step available that makes it easy to do, you can always write custom steps or steps with custom Java or JavaScript code in them to do it.

Upvotes: 0

Related Questions