Question

Is there a way to use a calculated value from a SQLcreator in a reader

  • 25 April 2019
  • 1 reply
  • 1 view

I'd like to be able to use a calculated value (max(myfield)) in a reader where clause i.e. where myfield2 > max(myfield). Is there a way to do this, or is there a better transformer/workflow to use?


1 reply

Userlevel 2
Badge +16

You can do this by attaching a FeatureReader (instead of the reader) to the SQLCreator transformer.

The FeatureReader is a transformer that acts like a reader, but with the option to pre-process the initiator.

The documentation for the FeatureReader is here

Reply