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', 'ALL:1:EXPONENTIAL:0.5,ROW') ) ORDER BY user_id, time_stamp;