Ask Your Question

StreamSets have like operator

asked 2018-07-19 12:31:16 -0500

sureshvattikuti2398 gravatar image

updated 2018-07-30 07:22:01 -0500

Maithri gravatar image

StreamSets have like operator like where name =jam* need fetch all the name start jam

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-07-19 23:38:26 -0500

Maithri gravatar image

updated 2018-07-24 01:24:46 -0500

1)You can use Stream Selector :

${str:matches(record:value("/name"), "^jam.*")} which returns the records containing the string

2) you can use an Expression Evaluator :

${str:matches(record:value("/name"), "^jam.*")} which returns true ,if the string is matched refer for more about string functions in expression evaluator

edit flag offensive delete link more

answered 2018-07-19 13:12:59 -0500

iamontheinet gravatar image


Checkout Expression Language.

Cheers, Dash

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-07-19 12:31:16 -0500

Seen: 87 times

Last updated: Jul 30 '18