7.00.02 - SQL-MapReduce Call - 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)
SELECT * FROM attribution (
   ON attribution_sample_table
     PARTITION BY user_id
     ORDER BY time_stamp
   EventColumn ('event')
   ConversionEvents ('SocialNetwork', 'PaidSearch')
   OptionalEvents ('OrganicSearch', 'Direct', 'Referral')
   TimestampColumn ('time_stamp')
   WindowSize ('rows:10&seconds:20')
   Model1 ('EVENT_REGULAR', 'Email:0.19:LAST_CLICK:NA',
           'impression:0.81:UNIFORM:NA')
   Model2 ('EVENT_OPTIONAL', 'OrganicSearch:0.5:UNIFORM:NA',
           'Direct:0.3:UNIFORM:NA', 'Referral:0.2:UNIFORM:NA')
 ) ORDER BY user_id, time_stamp;