Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Jan 18, 2024
1 parent b3b29ca commit a609f54
Show file tree
Hide file tree
Showing 50 changed files with 1,357 additions and 1,357 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ SELECT
, EXTRACT(day FROM revenue_src_10007.created_at) AS ds__extract_day
, IF(EXTRACT(dayofweek FROM revenue_src_10007.created_at) = 1, 7, EXTRACT(dayofweek FROM revenue_src_10007.created_at) - 1) AS ds__extract_dow
, EXTRACT(dayofyear FROM revenue_src_10007.created_at) AS ds__extract_doy
, DATE_TRUNC(revenue_src_10007.created_at, day) AS company__ds__day
, DATE_TRUNC(revenue_src_10007.created_at, isoweek) AS company__ds__week
, DATE_TRUNC(revenue_src_10007.created_at, month) AS company__ds__month
, DATE_TRUNC(revenue_src_10007.created_at, quarter) AS company__ds__quarter
, DATE_TRUNC(revenue_src_10007.created_at, year) AS company__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS company__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS company__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS company__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS company__ds__extract_day
, IF(EXTRACT(dayofweek FROM revenue_src_10007.created_at) = 1, 7, EXTRACT(dayofweek FROM revenue_src_10007.created_at) - 1) AS company__ds__extract_dow
, EXTRACT(dayofyear FROM revenue_src_10007.created_at) AS company__ds__extract_doy
, DATE_TRUNC(revenue_src_10007.created_at, day) AS revenue_instance__ds__day
, DATE_TRUNC(revenue_src_10007.created_at, isoweek) AS revenue_instance__ds__week
, DATE_TRUNC(revenue_src_10007.created_at, month) AS revenue_instance__ds__month
, DATE_TRUNC(revenue_src_10007.created_at, quarter) AS revenue_instance__ds__quarter
, DATE_TRUNC(revenue_src_10007.created_at, year) AS revenue_instance__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_day
, IF(EXTRACT(dayofweek FROM revenue_src_10007.created_at) = 1, 7, EXTRACT(dayofweek FROM revenue_src_10007.created_at) - 1) AS revenue_instance__ds__extract_dow
, EXTRACT(dayofyear FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_doy
, revenue_src_10007.user_id AS user
, revenue_src_10007.user_id AS company__user
, revenue_src_10007.user_id AS revenue_instance__user
FROM ***************************.fct_revenue revenue_src_10007
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ SELECT
, EXTRACT(day FROM revenue_src_10007.created_at) AS ds__extract_day
, EXTRACT(DAYOFWEEK_ISO FROM revenue_src_10007.created_at) AS ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS company__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS company__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS company__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS company__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS company__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS company__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS company__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS company__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS company__ds__extract_day
, EXTRACT(DAYOFWEEK_ISO FROM revenue_src_10007.created_at) AS company__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS company__ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS revenue_instance__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS revenue_instance__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS revenue_instance__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS revenue_instance__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS revenue_instance__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_day
, EXTRACT(DAYOFWEEK_ISO FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_doy
, revenue_src_10007.user_id AS user
, revenue_src_10007.user_id AS company__user
, revenue_src_10007.user_id AS revenue_instance__user
FROM ***************************.fct_revenue revenue_src_10007
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ SELECT
, EXTRACT(day FROM revenue_src_10007.created_at) AS ds__extract_day
, EXTRACT(isodow FROM revenue_src_10007.created_at) AS ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS company__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS company__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS company__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS company__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS company__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS company__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS company__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS company__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS company__ds__extract_day
, EXTRACT(isodow FROM revenue_src_10007.created_at) AS company__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS company__ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS revenue_instance__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS revenue_instance__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS revenue_instance__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS revenue_instance__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS revenue_instance__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_day
, EXTRACT(isodow FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_doy
, revenue_src_10007.user_id AS user
, revenue_src_10007.user_id AS company__user
, revenue_src_10007.user_id AS revenue_instance__user
FROM ***************************.fct_revenue revenue_src_10007
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ SELECT
, EXTRACT(day FROM revenue_src_10007.created_at) AS ds__extract_day
, EXTRACT(isodow FROM revenue_src_10007.created_at) AS ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS company__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS company__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS company__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS company__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS company__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS company__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS company__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS company__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS company__ds__extract_day
, EXTRACT(isodow FROM revenue_src_10007.created_at) AS company__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS company__ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS revenue_instance__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS revenue_instance__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS revenue_instance__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS revenue_instance__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS revenue_instance__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_day
, EXTRACT(isodow FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_doy
, revenue_src_10007.user_id AS user
, revenue_src_10007.user_id AS company__user
, revenue_src_10007.user_id AS revenue_instance__user
FROM ***************************.fct_revenue revenue_src_10007
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ SELECT
, EXTRACT(day FROM revenue_src_10007.created_at) AS ds__extract_day
, CASE WHEN EXTRACT(dow FROM revenue_src_10007.created_at) = 0 THEN EXTRACT(dow FROM revenue_src_10007.created_at) + 7 ELSE EXTRACT(dow FROM revenue_src_10007.created_at) END AS ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS company__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS company__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS company__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS company__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS company__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS company__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS company__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS company__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS company__ds__extract_day
, CASE WHEN EXTRACT(dow FROM revenue_src_10007.created_at) = 0 THEN EXTRACT(dow FROM revenue_src_10007.created_at) + 7 ELSE EXTRACT(dow FROM revenue_src_10007.created_at) END AS company__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS company__ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS revenue_instance__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS revenue_instance__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS revenue_instance__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS revenue_instance__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS revenue_instance__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_day
, CASE WHEN EXTRACT(dow FROM revenue_src_10007.created_at) = 0 THEN EXTRACT(dow FROM revenue_src_10007.created_at) + 7 ELSE EXTRACT(dow FROM revenue_src_10007.created_at) END AS revenue_instance__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_doy
, revenue_src_10007.user_id AS user
, revenue_src_10007.user_id AS company__user
, revenue_src_10007.user_id AS revenue_instance__user
FROM ***************************.fct_revenue revenue_src_10007
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ SELECT
, EXTRACT(day FROM revenue_src_10007.created_at) AS ds__extract_day
, EXTRACT(dayofweekiso FROM revenue_src_10007.created_at) AS ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS company__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS company__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS company__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS company__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS company__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS company__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS company__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS company__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS company__ds__extract_day
, EXTRACT(dayofweekiso FROM revenue_src_10007.created_at) AS company__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS company__ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS revenue_instance__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS revenue_instance__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS revenue_instance__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS revenue_instance__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS revenue_instance__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_day
, EXTRACT(dayofweekiso FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_doy
, revenue_src_10007.user_id AS user
, revenue_src_10007.user_id AS company__user
, revenue_src_10007.user_id AS revenue_instance__user
FROM ***************************.fct_revenue revenue_src_10007
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ SELECT
, EXTRACT(day FROM revenue_src_10007.created_at) AS ds__extract_day
, EXTRACT(DAY_OF_WEEK FROM revenue_src_10007.created_at) AS ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS company__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS company__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS company__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS company__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS company__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS company__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS company__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS company__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS company__ds__extract_day
, EXTRACT(DAY_OF_WEEK FROM revenue_src_10007.created_at) AS company__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS company__ds__extract_doy
, DATE_TRUNC('day', revenue_src_10007.created_at) AS revenue_instance__ds__day
, DATE_TRUNC('week', revenue_src_10007.created_at) AS revenue_instance__ds__week
, DATE_TRUNC('month', revenue_src_10007.created_at) AS revenue_instance__ds__month
, DATE_TRUNC('quarter', revenue_src_10007.created_at) AS revenue_instance__ds__quarter
, DATE_TRUNC('year', revenue_src_10007.created_at) AS revenue_instance__ds__year
, EXTRACT(year FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_year
, EXTRACT(quarter FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_quarter
, EXTRACT(month FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_month
, EXTRACT(day FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_day
, EXTRACT(DAY_OF_WEEK FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_dow
, EXTRACT(doy FROM revenue_src_10007.created_at) AS revenue_instance__ds__extract_doy
, revenue_src_10007.user_id AS user
, revenue_src_10007.user_id AS company__user
, revenue_src_10007.user_id AS revenue_instance__user
FROM ***************************.fct_revenue revenue_src_10007
Loading

0 comments on commit a609f54

Please sign in to comment.