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
SELECT * FROM RandomSample (
  ON (SELECT 1) PARTITION BY 1
  InputTable ('fs_input')
  NumSample ('10')
  SamplingMode ('kmeans++')
  InputColumns ('mpg:carb')
  CategoryWeights ('1000', '10', '100', '100', '100')
  AsCategories ('cyl', 'gear', 'carb')
  Distance ('manhattan')
  Seed (1)
  SeedColumn ('model')
) ORDER BY 1, 2, 3;