JavaScript transformer (simple)

Supply your own piece of JavaScript to do a custom transformation

Transformer Concurrent Distributed execution possible Alias: JavaScript transformer
  • Columns

    List of InputColumn<Object> Required
  • Return type

    Choice: STRING NUMBER BOOLEAN Required
  • Source code

    Available variables:

    values[0..]: Array of values

    values["my_col"]: Map of values

    my_col: Each column value has it's own variable

    out: Print to console using out.println('hello')

    log: Print to log using, log.warn(...), log.error(...)

    String Required