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)
SELECT * FROM ApproxPercentileReduce (
  ON ( SELECT * FROM ApproxPercentileMap (
    ON cracker
    TargetColumns ('pricesunshine', 'pricekeebler',
      'pricenabisco', 'priceprivate')
    GroupColumns ('choice')
    ErrorRate (2)
    )
  ) PARTITION BY choice
  GroupColumns ('choice')
  Percentile (0, 25, 50, 75, 100)
  TargetColumns ('pricesunshine', 'pricekeebler',
    'pricenabisco', 'priceprivate')
) ORDER BY choice, percentile;