Skip to content

Commit

Permalink
Reset variable reference for purchase propensity (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
martenlindblad authored Dec 9, 2024
1 parent 5a7eb5a commit 5dec332
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SET purchasers = (SELECT COUNT(DISTINCT user_pseudo_id)
);

-- Setting Training Dates
-- If there are churners in the training set, then keep the calculated dates, or else set
-- If there are purchasers in the training set, then keep the calculated dates, or else set
-- the start and end dates to a fixed interval preventing `train_start_date` and `train_end_date` from being NULL.
IF purchasers > 0 THEN
SET train_start_date = min_date;
Expand Down

0 comments on commit 5dec332

Please sign in to comment.