Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: UnNest operator: option to use inner meta data

The UnNest operator unpacks incoming tuple with a multi value attribute (e.g. a list) to create multiple tuples each containg one value from that attribute.

Parameter

  • attribute: The attribute that should be unpack.
  • useInnerMetadata: Boolean; optional; default is false. Requires the attribute to unpack to be a list of tuples, each with meta data. If set to true and if the meta data schema of the tuples to be unpacked matches the meta data schema of the outer tuple, the meta data from the unpacked tuple is set as meta data of the output of the unnest operator.

Example


Code Block

...

code
language
javascript
themeEclipselanguagejavascript
titleUnNest Operator
linenumberstrue
output = UNNEST({
                 attribute='myAttribute'
                },input)