You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This operator can be used to translate a key-value/json object to a tuple

Parameter

  • schema: The list of requested attributes and their data type.
  • type: The type of the output tuple
  • keepInput: If set to true, the key-value is stored in the additional content container of the output tuple.
  • dateFormat: Can be used to format the timestamp. To create a timestamp an attribute of data type STARTTIMESTAMP or ENDTIMESTAMP has to be added to schema.

Example

Example
out = KEYVALUETOTUPLE({
          schema=[['Name', 'Double']],
          type='Measurement',
          keepinput='false' 
        },
        in
      )
  • No labels