From 2435a8ef7e0d6f417393a1a682741f90b5664872 Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Wed, 9 Oct 2024 20:52:44 -0700 Subject: [PATCH] Update SQL engine snapshots for new query output tests --- ...o_time_spine_with_filter_not_in_group_by__query_output.txt | 4 ++++ ...th_filter_not_in_group_by_using_agg_time__query_output.txt | 4 ++++ ..._group_by_using_agg_time_and_metric_time__query_output.txt | 4 ++++ ..._spine_with_filter_smaller_than_group_by__query_output.txt | 3 +++ ...o_time_spine_with_filter_not_in_group_by__query_output.txt | 4 ++++ ...th_filter_not_in_group_by_using_agg_time__query_output.txt | 4 ++++ ..._group_by_using_agg_time_and_metric_time__query_output.txt | 4 ++++ ..._spine_with_filter_smaller_than_group_by__query_output.txt | 3 +++ ...o_time_spine_with_filter_not_in_group_by__query_output.txt | 4 ++++ ...th_filter_not_in_group_by_using_agg_time__query_output.txt | 4 ++++ ..._group_by_using_agg_time_and_metric_time__query_output.txt | 4 ++++ ..._spine_with_filter_smaller_than_group_by__query_output.txt | 3 +++ ...o_time_spine_with_filter_not_in_group_by__query_output.txt | 4 ++++ ...th_filter_not_in_group_by_using_agg_time__query_output.txt | 4 ++++ ..._group_by_using_agg_time_and_metric_time__query_output.txt | 4 ++++ ..._spine_with_filter_smaller_than_group_by__query_output.txt | 3 +++ ...o_time_spine_with_filter_not_in_group_by__query_output.txt | 4 ++++ ...th_filter_not_in_group_by_using_agg_time__query_output.txt | 4 ++++ ..._group_by_using_agg_time_and_metric_time__query_output.txt | 4 ++++ ..._spine_with_filter_smaller_than_group_by__query_output.txt | 3 +++ 20 files changed, 75 insertions(+) create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt create mode 100644 tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt new file mode 100644 index 0000000000..ce17a585db --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt @@ -0,0 +1,4 @@ +booking__ds__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt new file mode 100644 index 0000000000..376133d04d --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/BigQuery/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt @@ -0,0 +1,3 @@ +metric_time__day archived_users_join_to_time_spine +------------------- ----------------------------------- +2020-01-01T00:00:00 12 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt new file mode 100644 index 0000000000..ce17a585db --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt @@ -0,0 +1,4 @@ +booking__ds__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt new file mode 100644 index 0000000000..376133d04d --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt @@ -0,0 +1,3 @@ +metric_time__day archived_users_join_to_time_spine +------------------- ----------------------------------- +2020-01-01T00:00:00 12 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt new file mode 100644 index 0000000000..ce17a585db --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt @@ -0,0 +1,4 @@ +booking__ds__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt new file mode 100644 index 0000000000..376133d04d --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Postgres/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt @@ -0,0 +1,3 @@ +metric_time__day archived_users_join_to_time_spine +------------------- ----------------------------------- +2020-01-01T00:00:00 12 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt new file mode 100644 index 0000000000..ce17a585db --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt @@ -0,0 +1,4 @@ +booking__ds__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt new file mode 100644 index 0000000000..81e67fd874 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt @@ -0,0 +1,4 @@ +metric_time__day bookings_join_to_time_spine_with_tiered_filters +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt new file mode 100644 index 0000000000..376133d04d --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Redshift/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt @@ -0,0 +1,3 @@ +metric_time__day archived_users_join_to_time_spine +------------------- ----------------------------------- +2020-01-01T00:00:00 12 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt new file mode 100644 index 0000000000..15bdfc7d89 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by__query_output.txt @@ -0,0 +1,4 @@ +METRIC_TIME__DAY BOOKINGS_JOIN_TO_TIME_SPINE_WITH_TIERED_FILTERS +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt new file mode 100644 index 0000000000..d996a8d19e --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time__query_output.txt @@ -0,0 +1,4 @@ +BOOKING__DS__DAY BOOKINGS_JOIN_TO_TIME_SPINE_WITH_TIERED_FILTERS +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt new file mode 100644 index 0000000000..15bdfc7d89 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_not_in_group_by_using_agg_time_and_metric_time__query_output.txt @@ -0,0 +1,4 @@ +METRIC_TIME__DAY BOOKINGS_JOIN_TO_TIME_SPINE_WITH_TIERED_FILTERS +------------------- ------------------------------------------------- +2020-01-01T00:00:00 None +2020-01-02T00:00:00 9 diff --git a/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt new file mode 100644 index 0000000000..2b181f9ea5 --- /dev/null +++ b/tests_metricflow/snapshots/test_fill_nulls_with_0.py/str/Snowflake/test_join_to_time_spine_with_filter_smaller_than_group_by__query_output.txt @@ -0,0 +1,3 @@ +METRIC_TIME__DAY ARCHIVED_USERS_JOIN_TO_TIME_SPINE +------------------- ----------------------------------- +2020-01-01T00:00:00 12