Skip to main content
Question

Boolean Field

  • September 1, 2022
  • 1 reply
  • 62 views

Priyabala
Roadie

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

Pradeep
StreamSets Employee
Forum|alt.badge.img+1
  • StreamSets Employee
  • 48 replies
  • September 1, 2022

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