Skip to content

Commit

Permalink
fixup! Add SQL rendering tests
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Oct 10, 2024
1 parent 6a37142 commit e19db74
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ FROM (
-- Filter Time Spine
SELECT
subq_8.metric_time__day
, subq_8.metric_time__month
FROM (
-- Time Spine
SELECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ FROM (
-- Filter Time Spine
SELECT
metric_time__day
, metric_time__month
FROM (
-- Time Spine
SELECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ FROM (
FROM (
-- Filter Time Spine
SELECT
subq_8.metric_time__hour
, subq_8.metric_time__day
subq_8.metric_time__day
FROM (
-- Time Spine
SELECT
Expand All @@ -24,6 +23,8 @@ FROM (
) AND (
metric_time__day = '2020-01-01'
)
GROUP BY
subq_8.metric_time__day
) subq_6
LEFT OUTER JOIN (
-- Aggregate Measures
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ SELECT
FROM (
-- Filter Time Spine
SELECT
metric_time__hour
, metric_time__day
metric_time__day
FROM (
-- Time Spine
SELECT
Expand All @@ -20,6 +19,8 @@ FROM (
) AND (
metric_time__day = '2020-01-01'
)
GROUP BY
metric_time__day
) subq_16
LEFT OUTER JOIN (
-- Constrain Output with WHERE
Expand Down

0 comments on commit e19db74

Please sign in to comment.