7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)

The SQL-MapReduce call uses custom values for the arguments NodeIdOutputColumnName and ParentNodeOutputColumnName.

SELECT * FROM JSONParser (
  ON json_parser_data
  TextColumn ('data')
  Nodes ('menu/{id,value}', 'menuitem/value')
  Delimiter ('|')
  NodeIdOutputColumn ('Fieldnumber')
  ParentNodeOutputColumn ('ParentName')
  Accumulate ('id')
) ORDER BY 1, 2;