Skip to content

Commit

Permalink
Update SQL engine snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyholcomb committed Nov 2, 2023
1 parent 26b3044 commit 0dcc69d
Show file tree
Hide file tree
Showing 70 changed files with 90 additions and 90 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_9.metric_time__day
, COALESCE(subq_9.bookers, 0) AS every_two_days_bookers_fill_0
, COALESCE(subq_9.bookers, 0) AS every_two_days_bookers_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookers, 0) AS every_two_days_bookers_fill_0
, COALESCE(bookers, 0) AS every_two_days_bookers_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
-- Compute Metrics via Expressions
SELECT
subq_16.metric_time__day
, bookings_fill_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_0_for_non_offset
, bookings_fill_nulls_with_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_nulls_with_0_for_non_offset
FROM (
-- Combine Metrics
SELECT
COALESCE(subq_7.metric_time__day, subq_15.metric_time__day) AS metric_time__day
, subq_7.bookings_fill_0 AS bookings_fill_0
, subq_7.bookings_fill_nulls_with_0 AS bookings_fill_nulls_with_0
, subq_15.bookings_2_weeks_ago AS bookings_2_weeks_ago
FROM (
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__day
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, bookings_fill_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_0_for_non_offset
, bookings_fill_nulls_with_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_nulls_with_0_for_non_offset
FROM (
-- Combine Metrics
SELECT
COALESCE(subq_24.metric_time__day, subq_32.metric_time__day) AS metric_time__day
, subq_24.bookings_fill_0 AS bookings_fill_0
, subq_24.bookings_fill_nulls_with_0 AS bookings_fill_nulls_with_0
, subq_32.bookings_2_weeks_ago AS bookings_2_weeks_ago
FROM (
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__day
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__month
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__month
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_3.booking__is_instant
, COALESCE(subq_3.bookings, 0) AS bookings_fill_0
, COALESCE(subq_3.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
booking__is_instant
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_3.booking__paid_at__day
, COALESCE(subq_3.bookings, 0) AS bookings_fill_0
, COALESCE(subq_3.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
booking__paid_at__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_3.metric_time__day
, COALESCE(subq_3.bookings, 0) AS bookings_fill_0_without_time_spine
, COALESCE(subq_3.bookings, 0) AS bookings_fill_nulls_with_0_without_time_spine
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0_without_time_spine
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0_without_time_spine
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_9.metric_time__day
, COALESCE(subq_9.bookers, 0) AS every_two_days_bookers_fill_0
, COALESCE(subq_9.bookers, 0) AS every_two_days_bookers_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookers, 0) AS every_two_days_bookers_fill_0
, COALESCE(bookers, 0) AS every_two_days_bookers_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
-- Compute Metrics via Expressions
SELECT
subq_16.metric_time__day
, bookings_fill_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_0_for_non_offset
, bookings_fill_nulls_with_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_nulls_with_0_for_non_offset
FROM (
-- Combine Metrics
SELECT
COALESCE(subq_7.metric_time__day, subq_15.metric_time__day) AS metric_time__day
, subq_7.bookings_fill_0 AS bookings_fill_0
, subq_7.bookings_fill_nulls_with_0 AS bookings_fill_nulls_with_0
, subq_15.bookings_2_weeks_ago AS bookings_2_weeks_ago
FROM (
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__day
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, bookings_fill_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_0_for_non_offset
, bookings_fill_nulls_with_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_nulls_with_0_for_non_offset
FROM (
-- Combine Metrics
SELECT
COALESCE(subq_24.metric_time__day, subq_32.metric_time__day) AS metric_time__day
, subq_24.bookings_fill_0 AS bookings_fill_0
, subq_24.bookings_fill_nulls_with_0 AS bookings_fill_nulls_with_0
, subq_32.bookings_2_weeks_ago AS bookings_2_weeks_ago
FROM (
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__day
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__month
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__month
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_3.booking__is_instant
, COALESCE(subq_3.bookings, 0) AS bookings_fill_0
, COALESCE(subq_3.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
booking__is_instant
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_3.booking__paid_at__day
, COALESCE(subq_3.bookings, 0) AS bookings_fill_0
, COALESCE(subq_3.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
booking__paid_at__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_3.metric_time__day
, COALESCE(subq_3.bookings, 0) AS bookings_fill_0_without_time_spine
, COALESCE(subq_3.bookings, 0) AS bookings_fill_nulls_with_0_without_time_spine
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0_without_time_spine
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0_without_time_spine
FROM (
-- Aggregate Measures
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_9.metric_time__day
, COALESCE(subq_9.bookers, 0) AS every_two_days_bookers_fill_0
, COALESCE(subq_9.bookers, 0) AS every_two_days_bookers_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookers, 0) AS every_two_days_bookers_fill_0
, COALESCE(bookers, 0) AS every_two_days_bookers_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
-- Compute Metrics via Expressions
SELECT
subq_16.metric_time__day
, bookings_fill_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_0_for_non_offset
, bookings_fill_nulls_with_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_nulls_with_0_for_non_offset
FROM (
-- Combine Metrics
SELECT
COALESCE(subq_7.metric_time__day, subq_15.metric_time__day) AS metric_time__day
, subq_7.bookings_fill_0 AS bookings_fill_0
, subq_7.bookings_fill_nulls_with_0 AS bookings_fill_nulls_with_0
, subq_15.bookings_2_weeks_ago AS bookings_2_weeks_ago
FROM (
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__day
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, bookings_fill_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_0_for_non_offset
, bookings_fill_nulls_with_0 - bookings_2_weeks_ago AS bookings_growth_2_weeks_fill_nulls_with_0_for_non_offset
FROM (
-- Combine Metrics
SELECT
COALESCE(subq_24.metric_time__day, subq_32.metric_time__day) AS metric_time__day
, subq_24.bookings_fill_0 AS bookings_fill_0
, subq_24.bookings_fill_nulls_with_0 AS bookings_fill_nulls_with_0
, subq_32.bookings_2_weeks_ago AS bookings_2_weeks_ago
FROM (
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__day
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
metric_time__day
, COALESCE(bookings, 0) AS bookings_fill_0
, COALESCE(bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Compute Metrics via Expressions
SELECT
subq_6.metric_time__month
, COALESCE(subq_6.bookings, 0) AS bookings_fill_0
, COALESCE(subq_6.bookings, 0) AS bookings_fill_nulls_with_0
FROM (
-- Join to Time Spine Dataset
SELECT
Expand Down
Loading

0 comments on commit 0dcc69d

Please sign in to comment.