1.0 - 8.00 - Attribution Syntax (Multiple Inputs) - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

Version 2.7

This function requires "@coprocessor".
SELECT * FROM Attribution@coprocessor (
  ON { table | view | (query) } PARTITION BY user_id ORDER BY timestamp_column 
  [ ON { table | view | (query) } PARTITION BY user_id ORDER BY timestamp_column ][,...]
  ON conversion_event_table AS conversion DIMENSION
  [ ON excluding_event_table AS excluding DIMENSION ]
  [ ON optional_event_table AS optional DIMENSION ]
  ON model1_table AS model1 DIMENSION
  [ ON model2_table AS model2 DIMENSION ]
  USING
  EventColumn ('event_column')
  TimestampColumn ('timestamp_column')
  WindowSize ({ 'rows:K' | 'seconds:K' | 'rows:K&seconds:K2' })
) AS alias ORDER BY user_id,time_stamp;