Skip to content

Commit

Permalink
Update snapshots for test_id_enumeration.
Browse files Browse the repository at this point in the history
  • Loading branch information
plypaul committed Feb 7, 2024
1 parent 695e41e commit c1a817c
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- Combine Aggregated Outputs
SELECT
COALESCE(subq_4.metric_time__day, subq_9.metric_time__day) AS metric_time__day
, MAX(subq_4.bookings) AS bookings
, MAX(subq_9.listings) AS listings
COALESCE(subq_13.metric_time__day, subq_18.metric_time__day) AS metric_time__day
, MAX(subq_13.bookings) AS bookings
, MAX(subq_18.listings) AS listings
FROM (
-- Aggregate Measures
-- Compute Metrics via Expressions
Expand All @@ -17,10 +17,10 @@ FROM (
DATE_TRUNC('day', ds) AS metric_time__day
, 1 AS bookings
FROM ***************************.fct_bookings bookings_source_src_10000
) subq_2
) subq_11
GROUP BY
metric_time__day
) subq_4
) subq_13
FULL OUTER JOIN (
-- Aggregate Measures
-- Compute Metrics via Expressions
Expand All @@ -35,11 +35,11 @@ FULL OUTER JOIN (
DATE_TRUNC('day', created_at) AS metric_time__day
, 1 AS listings
FROM ***************************.dim_listings_latest listings_latest_src_10000
) subq_7
) subq_16
GROUP BY
metric_time__day
) subq_9
) subq_18
ON
subq_4.metric_time__day = subq_9.metric_time__day
subq_13.metric_time__day = subq_18.metric_time__day
GROUP BY
COALESCE(subq_4.metric_time__day, subq_9.metric_time__day)
COALESCE(subq_13.metric_time__day, subq_18.metric_time__day)

0 comments on commit c1a817c

Please sign in to comment.