7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17
The arguments StratumColumn() and Strata() always appear together.
SELECT * FROM Sample (
  ON score_category PARTITION BY ANY
  SampleFraction ('0.2', '0.3', '0.4')
  StratumColumn ('stratum')
  Strata ('fair', 'very good', 'excellent')
  Seed ('2')
) ORDER BY stratum, id, score;