Forum Discussion
Unfortunately, regular expression objects do not have a test() method at this time. You’ll need to use one of the methods on strings, like match().
Also, if you were not aware, there is a Data Validator snap that can check strings against patterns.
Is there a way to do validation dynamically. I mean I can provide list of fields and list of validation needs to be performed . Is it possible to perform validation based on the input. rater than hardcoding the condition for each and every filed. Eg - I have two files. One file with 10 fields and another 20 fields and I need to validate the not null and length constraints against each of the filed in two file. I want to achieve this in a pipeline . In future if new column added to the same file, I shouldn’t make changes to pipelines , rather than just add the column and condition in properties file or store the info in a table, the pipeline should dynamically validate the new column. Is it possible to do this in snaplogic ?
- Pkrishna94942 years agoNew Contributor
can you possible to read through python script
Related Content
- 2 years ago
- 5 months ago