7.00.02 - Option 1: For Multiple-Node Data Sets - 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)
Version 1.0
SELECT * FROM DistnmatchReduce (
  ON DistnmatchMultipleInput (
    ON (SELECT RANK() OVER (PARTITION BY col [,...] 
      ORDER BY column) AS rank, *
      FROM input_table 
      WHERE column IS NOT NULL
    ) AS input PARTITION BY ANY
    ON (SELECT col[,...], COUNT(*) AS group_size
      FROM input_table 
      WHERE column IS NOT NULL
      GROUP BY col[,...] 
    ) AS groupstats DIMENSION
  ValueColumn (column)
  [ Tests ('test' [,...]) ]
  Distributions ('distribution:parameter' [,...])
  [ GroupingColumns (col[,...]) ]
  [ MinGroupSize (minGroupSize) ]
  [ NumCell (cell_size) ]
  ) PARTITION BY col[,...] 
);