1.1 - 8.10 - SAX Syntax (Single Input) - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 1.9

SELECT * FROM SAX (
  ON { table | view | (query) } AS InputTable PARTITION BY key ORDER BY order_columns
  USING
  TargetColumns ({ 'target_column' | target_column_range }[,...])
  [ TimeColumn ('time_column') ]
  [ WindowType ( { 'global' | 'sliding' } ) ]
  [ OutputType ( { 'string' | 'bytes' | 'bitmap' | 'characters' } ) ]
  [ Mean (mean_value [,...]) ]
  [ STDev (stdev_value [,...]) ]
  [ WindowSize (window_size) ]
  [ OutputFrequency (output_frequency) ]
  [ PointsPerSymbol (points_per_symbol [,...]) ]
  [ SymbolsPerWindow (symbols_per_window [,...]) ]
  [ AlphabetSize (alphabet_size [,...]) ]
  [ BitmapLevel (bitmap_level [,...]) ]
  [ OutputStats ({ 'true'|'yes'|'t'|'y'|'1'|'false'|'no'|'f'|'n'|'0' }) ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
) AS alias;