Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
These snapshot changes are just a cahnge in the order of time dimensions rendered, since the code change uses a set to dedupe, which can return a different order.
  • Loading branch information
courtneyholcomb committed Sep 23, 2024
1 parent 1c34858 commit a398924
Show file tree
Hide file tree
Showing 12 changed files with 74 additions and 74 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
FROM (
Expand Down Expand Up @@ -188,8 +188,8 @@ FROM (
, subq_0.user__home_state AS user__home_state
, subq_0.new_users AS new_users
, subq_0.archived_users AS archived_users
, subq_4.martian_day AS metric_time__martian_day
, subq_5.martian_day AS user__bio_added_ts__martian_day
, subq_4.martian_day AS user__bio_added_ts__martian_day
, subq_5.martian_day AS metric_time__martian_day
FROM (
-- Read Elements From Semantic Model 'users_ds_source'
SELECT
Expand Down Expand Up @@ -427,14 +427,14 @@ FROM (
LEFT OUTER JOIN
***************************.mf_time_spine subq_4
ON
subq_0.metric_time__day = subq_4.ds
subq_0.user__bio_added_ts__day = subq_4.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_5
ON
subq_0.user__bio_added_ts__day = subq_5.ds
subq_0.metric_time__day = subq_5.ds
) subq_6
GROUP BY
user__bio_added_ts__martian_day
, metric_time__martian_day
metric_time__martian_day
, user__bio_added_ts__martian_day
, user__bio_added_ts__month
, metric_time__day
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
-- Join Standard Outputs
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_12.martian_day AS user__bio_added_ts__martian_day
, subq_11.martian_day AS metric_time__martian_day
subq_12.martian_day AS metric_time__martian_day
, subq_11.martian_day AS user__bio_added_ts__martian_day
, DATETIME_TRUNC(users_ds_source_src_28000.bio_added_ts, month) AS user__bio_added_ts__month
, DATETIME_TRUNC(time_spine_src_28006.ds, day) AS metric_time__day
FROM ***************************.dim_users users_ds_source_src_28000
Expand All @@ -13,13 +13,13 @@ CROSS JOIN
LEFT OUTER JOIN
***************************.mf_time_spine subq_11
ON
subq_7.metric_time__day = subq_11.ds
DATETIME_TRUNC(users_ds_source_src_28000.bio_added_ts, day) = subq_11.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_12
ON
DATETIME_TRUNC(users_ds_source_src_28000.bio_added_ts, day) = subq_12.ds
subq_7.metric_time__day = subq_12.ds
GROUP BY
user__bio_added_ts__martian_day
, metric_time__martian_day
metric_time__martian_day
, user__bio_added_ts__martian_day
, user__bio_added_ts__month
, metric_time__day
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
FROM (
Expand Down Expand Up @@ -188,8 +188,8 @@ FROM (
, subq_0.user__home_state AS user__home_state
, subq_0.new_users AS new_users
, subq_0.archived_users AS archived_users
, subq_4.martian_day AS metric_time__martian_day
, subq_5.martian_day AS user__bio_added_ts__martian_day
, subq_4.martian_day AS user__bio_added_ts__martian_day
, subq_5.martian_day AS metric_time__martian_day
FROM (
-- Read Elements From Semantic Model 'users_ds_source'
SELECT
Expand Down Expand Up @@ -427,14 +427,14 @@ FROM (
LEFT OUTER JOIN
***************************.mf_time_spine subq_4
ON
subq_0.metric_time__day = subq_4.ds
subq_0.user__bio_added_ts__day = subq_4.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_5
ON
subq_0.user__bio_added_ts__day = subq_5.ds
subq_0.metric_time__day = subq_5.ds
) subq_6
GROUP BY
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
-- Join Standard Outputs
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_12.martian_day AS user__bio_added_ts__martian_day
, subq_11.martian_day AS metric_time__martian_day
subq_12.martian_day AS metric_time__martian_day
, subq_11.martian_day AS user__bio_added_ts__martian_day
, DATE_TRUNC('month', users_ds_source_src_28000.bio_added_ts) AS user__bio_added_ts__month
, DATE_TRUNC('day', time_spine_src_28006.ds) AS metric_time__day
FROM ***************************.dim_users users_ds_source_src_28000
Expand All @@ -13,11 +13,11 @@ CROSS JOIN
LEFT OUTER JOIN
***************************.mf_time_spine subq_11
ON
subq_7.metric_time__day = subq_11.ds
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_11.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_12
ON
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_12.ds
subq_7.metric_time__day = subq_12.ds
GROUP BY
subq_12.martian_day
, subq_11.martian_day
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
FROM (
Expand Down Expand Up @@ -188,8 +188,8 @@ FROM (
, subq_0.user__home_state AS user__home_state
, subq_0.new_users AS new_users
, subq_0.archived_users AS archived_users
, subq_4.martian_day AS metric_time__martian_day
, subq_5.martian_day AS user__bio_added_ts__martian_day
, subq_4.martian_day AS user__bio_added_ts__martian_day
, subq_5.martian_day AS metric_time__martian_day
FROM (
-- Read Elements From Semantic Model 'users_ds_source'
SELECT
Expand Down Expand Up @@ -427,14 +427,14 @@ FROM (
LEFT OUTER JOIN
***************************.mf_time_spine subq_4
ON
subq_0.metric_time__day = subq_4.ds
subq_0.user__bio_added_ts__day = subq_4.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_5
ON
subq_0.user__bio_added_ts__day = subq_5.ds
subq_0.metric_time__day = subq_5.ds
) subq_6
GROUP BY
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
-- Join Standard Outputs
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_12.martian_day AS user__bio_added_ts__martian_day
, subq_11.martian_day AS metric_time__martian_day
subq_12.martian_day AS metric_time__martian_day
, subq_11.martian_day AS user__bio_added_ts__martian_day
, DATE_TRUNC('month', users_ds_source_src_28000.bio_added_ts) AS user__bio_added_ts__month
, DATE_TRUNC('day', time_spine_src_28006.ds) AS metric_time__day
FROM ***************************.dim_users users_ds_source_src_28000
Expand All @@ -13,11 +13,11 @@ CROSS JOIN
LEFT OUTER JOIN
***************************.mf_time_spine subq_11
ON
subq_7.metric_time__day = subq_11.ds
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_11.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_12
ON
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_12.ds
subq_7.metric_time__day = subq_12.ds
GROUP BY
subq_12.martian_day
, subq_11.martian_day
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
FROM (
Expand Down Expand Up @@ -188,8 +188,8 @@ FROM (
, subq_0.user__home_state AS user__home_state
, subq_0.new_users AS new_users
, subq_0.archived_users AS archived_users
, subq_4.martian_day AS metric_time__martian_day
, subq_5.martian_day AS user__bio_added_ts__martian_day
, subq_4.martian_day AS user__bio_added_ts__martian_day
, subq_5.martian_day AS metric_time__martian_day
FROM (
-- Read Elements From Semantic Model 'users_ds_source'
SELECT
Expand Down Expand Up @@ -427,14 +427,14 @@ FROM (
LEFT OUTER JOIN
***************************.mf_time_spine subq_4
ON
subq_0.metric_time__day = subq_4.ds
subq_0.user__bio_added_ts__day = subq_4.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_5
ON
subq_0.user__bio_added_ts__day = subq_5.ds
subq_0.metric_time__day = subq_5.ds
) subq_6
GROUP BY
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
-- Join Standard Outputs
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_12.martian_day AS user__bio_added_ts__martian_day
, subq_11.martian_day AS metric_time__martian_day
subq_12.martian_day AS metric_time__martian_day
, subq_11.martian_day AS user__bio_added_ts__martian_day
, DATE_TRUNC('month', users_ds_source_src_28000.bio_added_ts) AS user__bio_added_ts__month
, DATE_TRUNC('day', time_spine_src_28006.ds) AS metric_time__day
FROM ***************************.dim_users users_ds_source_src_28000
Expand All @@ -13,11 +13,11 @@ CROSS JOIN
LEFT OUTER JOIN
***************************.mf_time_spine subq_11
ON
subq_7.metric_time__day = subq_11.ds
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_11.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_12
ON
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_12.ds
subq_7.metric_time__day = subq_12.ds
GROUP BY
subq_12.martian_day
, subq_11.martian_day
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
FROM (
Expand Down Expand Up @@ -188,8 +188,8 @@ FROM (
, subq_0.user__home_state AS user__home_state
, subq_0.new_users AS new_users
, subq_0.archived_users AS archived_users
, subq_4.martian_day AS metric_time__martian_day
, subq_5.martian_day AS user__bio_added_ts__martian_day
, subq_4.martian_day AS user__bio_added_ts__martian_day
, subq_5.martian_day AS metric_time__martian_day
FROM (
-- Read Elements From Semantic Model 'users_ds_source'
SELECT
Expand Down Expand Up @@ -427,14 +427,14 @@ FROM (
LEFT OUTER JOIN
***************************.mf_time_spine subq_4
ON
subq_0.metric_time__day = subq_4.ds
subq_0.user__bio_added_ts__day = subq_4.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_5
ON
subq_0.user__bio_added_ts__day = subq_5.ds
subq_0.metric_time__day = subq_5.ds
) subq_6
GROUP BY
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
-- Join Standard Outputs
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_12.martian_day AS user__bio_added_ts__martian_day
, subq_11.martian_day AS metric_time__martian_day
subq_12.martian_day AS metric_time__martian_day
, subq_11.martian_day AS user__bio_added_ts__martian_day
, DATE_TRUNC('month', users_ds_source_src_28000.bio_added_ts) AS user__bio_added_ts__month
, DATE_TRUNC('day', time_spine_src_28006.ds) AS metric_time__day
FROM ***************************.dim_users users_ds_source_src_28000
Expand All @@ -13,11 +13,11 @@ CROSS JOIN
LEFT OUTER JOIN
***************************.mf_time_spine subq_11
ON
subq_7.metric_time__day = subq_11.ds
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_11.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_12
ON
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_12.ds
subq_7.metric_time__day = subq_12.ds
GROUP BY
subq_12.martian_day
, subq_11.martian_day
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
FROM (
Expand Down Expand Up @@ -188,8 +188,8 @@ FROM (
, subq_0.user__home_state AS user__home_state
, subq_0.new_users AS new_users
, subq_0.archived_users AS archived_users
, subq_4.martian_day AS metric_time__martian_day
, subq_5.martian_day AS user__bio_added_ts__martian_day
, subq_4.martian_day AS user__bio_added_ts__martian_day
, subq_5.martian_day AS metric_time__martian_day
FROM (
-- Read Elements From Semantic Model 'users_ds_source'
SELECT
Expand Down Expand Up @@ -427,14 +427,14 @@ FROM (
LEFT OUTER JOIN
***************************.mf_time_spine subq_4
ON
subq_0.metric_time__day = subq_4.ds
subq_0.user__bio_added_ts__day = subq_4.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_5
ON
subq_0.user__bio_added_ts__day = subq_5.ds
subq_0.metric_time__day = subq_5.ds
) subq_6
GROUP BY
subq_6.user__bio_added_ts__martian_day
, subq_6.metric_time__martian_day
subq_6.metric_time__martian_day
, subq_6.user__bio_added_ts__martian_day
, subq_6.user__bio_added_ts__month
, subq_6.metric_time__day
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
-- Join Standard Outputs
-- Pass Only Elements: ['metric_time__day', 'metric_time__martian_day', 'user__bio_added_ts__martian_day', 'user__bio_added_ts__month']
SELECT
subq_12.martian_day AS user__bio_added_ts__martian_day
, subq_11.martian_day AS metric_time__martian_day
subq_12.martian_day AS metric_time__martian_day
, subq_11.martian_day AS user__bio_added_ts__martian_day
, DATE_TRUNC('month', users_ds_source_src_28000.bio_added_ts) AS user__bio_added_ts__month
, DATE_TRUNC('day', time_spine_src_28006.ds) AS metric_time__day
FROM ***************************.dim_users users_ds_source_src_28000
Expand All @@ -13,11 +13,11 @@ CROSS JOIN
LEFT OUTER JOIN
***************************.mf_time_spine subq_11
ON
subq_7.metric_time__day = subq_11.ds
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_11.ds
LEFT OUTER JOIN
***************************.mf_time_spine subq_12
ON
DATE_TRUNC('day', users_ds_source_src_28000.bio_added_ts) = subq_12.ds
subq_7.metric_time__day = subq_12.ds
GROUP BY
subq_12.martian_day
, subq_11.martian_day
Expand Down

0 comments on commit a398924

Please sign in to comment.