Question

Boolean Field

  • 1 September 2022
  • 1 reply
  • 42 views

how to evaluate Boolean field, whether it is true or not? Any Boolean functions? or can it be achieved with expression evaluator, if so how can it be achieved?


1 reply

Userlevel 3
Badge +1

Hi @Priyabala, We have expression language examples or usage documented here https://docs.streamsets.com/portal/datacollector/latest/help/datacollector/UserGuide/Expression_Language/ExpressionLanguage_overview.html#concept_p54_4kl_vq

 

As an example, I have a field called ‘a’ of boolean type which has random data and in the next stage expression evaluator emits another field ‘b’ containing the negation of what ‘a’ contained using Expression Evaluator. Hope this helps.

 

 

 

Reply