diff --git a/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_fill_nulls_with_0_multi_metric_query__query_output.txt b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_fill_nulls_with_0_multi_metric_query__query_output.txt new file mode 100644 index 0000000000..855967c2d5 --- /dev/null +++ b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_fill_nulls_with_0_multi_metric_query__query_output.txt @@ -0,0 +1,41 @@ + metric_time__day bookings_fill_nulls_with_0 views +0 2019-11-27 00:00:00+00:00 0 NaN +1 2019-11-28 00:00:00+00:00 0 NaN +2 2019-11-29 00:00:00+00:00 0 NaN +3 2019-11-30 00:00:00+00:00 0 NaN +4 2019-12-01 00:00:00+00:00 1 NaN +5 2019-12-02 00:00:00+00:00 0 NaN +6 2019-12-03 00:00:00+00:00 0 NaN +7 2019-12-04 00:00:00+00:00 0 NaN +8 2019-12-05 00:00:00+00:00 0 NaN +9 2019-12-06 00:00:00+00:00 0 NaN +10 2019-12-07 00:00:00+00:00 0 NaN +11 2019-12-08 00:00:00+00:00 0 NaN +12 2019-12-09 00:00:00+00:00 0 NaN +13 2019-12-10 00:00:00+00:00 0 NaN +14 2019-12-11 00:00:00+00:00 0 NaN +15 2019-12-12 00:00:00+00:00 0 NaN +16 2019-12-13 00:00:00+00:00 0 NaN +17 2019-12-14 00:00:00+00:00 0 NaN +18 2019-12-15 00:00:00+00:00 0 NaN +19 2019-12-16 00:00:00+00:00 0 NaN +20 2019-12-17 00:00:00+00:00 0 NaN +21 2019-12-18 00:00:00+00:00 10 NaN +22 2019-12-19 00:00:00+00:00 18 NaN +23 2019-12-20 00:00:00+00:00 2 NaN +24 2019-12-21 00:00:00+00:00 0 NaN +25 2019-12-22 00:00:00+00:00 0 NaN +26 2019-12-23 00:00:00+00:00 0 NaN +27 2019-12-24 00:00:00+00:00 0 NaN +28 2019-12-25 00:00:00+00:00 0 NaN +29 2019-12-26 00:00:00+00:00 0 NaN +30 2019-12-27 00:00:00+00:00 0 NaN +31 2019-12-28 00:00:00+00:00 0 NaN +32 2019-12-29 00:00:00+00:00 0 NaN +33 2019-12-30 00:00:00+00:00 0 NaN +34 2019-12-31 00:00:00+00:00 0 NaN +35 2020-01-01 00:00:00+00:00 5 2.0 +36 2020-01-02 00:00:00+00:00 9 5.0 +37 2020-01-03 00:00:00+00:00 1 NaN +38 2020-01-04 00:00:00+00:00 0 1.0 +39 2020-01-05 00:00:00+00:00 0 1.0 diff --git a/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_fill_nulls_with_0_multi_metric_query_with_categorical_dimension__query_output.txt b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_fill_nulls_with_0_multi_metric_query_with_categorical_dimension__query_output.txt new file mode 100644 index 0000000000..f352a88aca --- /dev/null +++ b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_fill_nulls_with_0_multi_metric_query_with_categorical_dimension__query_output.txt @@ -0,0 +1,16 @@ + metric_time__day listing__is_lux_latest bookings_fill_nulls_with_0_without_time_spine views +0 2019-12-01 00:00:00+00:00 True 1 NaN +1 2019-12-18 00:00:00+00:00 False 4 NaN +2 2019-12-18 00:00:00+00:00 True 6 NaN +3 2019-12-19 00:00:00+00:00 None 6 NaN +4 2019-12-19 00:00:00+00:00 False 6 NaN +5 2019-12-19 00:00:00+00:00 True 6 NaN +6 2019-12-20 00:00:00+00:00 True 2 NaN +7 2020-01-01 00:00:00+00:00 False 2 NaN +8 2020-01-01 00:00:00+00:00 True 3 2.0 +9 2020-01-02 00:00:00+00:00 None 3 1.0 +10 2020-01-02 00:00:00+00:00 False 3 3.0 +11 2020-01-02 00:00:00+00:00 True 3 1.0 +12 2020-01-03 00:00:00+00:00 True 1 NaN +13 2020-01-04 00:00:00+00:00 False 0 1.0 +14 2020-01-05 00:00:00+00:00 None 0 1.0 diff --git a/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_fill_nulls_with_0_metric_time__query_output.txt b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_fill_nulls_with_0_metric_time__query_output.txt new file mode 100644 index 0000000000..9cb9d895c7 --- /dev/null +++ b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_fill_nulls_with_0_metric_time__query_output.txt @@ -0,0 +1,41 @@ + metric_time__day bookings_fill_nulls_with_0 +0 2019-11-27 00:00:00+00:00 0 +1 2019-11-28 00:00:00+00:00 0 +2 2019-11-29 00:00:00+00:00 0 +3 2019-11-30 00:00:00+00:00 0 +4 2019-12-01 00:00:00+00:00 1 +5 2019-12-02 00:00:00+00:00 0 +6 2019-12-03 00:00:00+00:00 0 +7 2019-12-04 00:00:00+00:00 0 +8 2019-12-05 00:00:00+00:00 0 +9 2019-12-06 00:00:00+00:00 0 +10 2019-12-07 00:00:00+00:00 0 +11 2019-12-08 00:00:00+00:00 0 +12 2019-12-09 00:00:00+00:00 0 +13 2019-12-10 00:00:00+00:00 0 +14 2019-12-11 00:00:00+00:00 0 +15 2019-12-12 00:00:00+00:00 0 +16 2019-12-13 00:00:00+00:00 0 +17 2019-12-14 00:00:00+00:00 0 +18 2019-12-15 00:00:00+00:00 0 +19 2019-12-16 00:00:00+00:00 0 +20 2019-12-17 00:00:00+00:00 0 +21 2019-12-18 00:00:00+00:00 10 +22 2019-12-19 00:00:00+00:00 18 +23 2019-12-20 00:00:00+00:00 2 +24 2019-12-21 00:00:00+00:00 0 +25 2019-12-22 00:00:00+00:00 0 +26 2019-12-23 00:00:00+00:00 0 +27 2019-12-24 00:00:00+00:00 0 +28 2019-12-25 00:00:00+00:00 0 +29 2019-12-26 00:00:00+00:00 0 +30 2019-12-27 00:00:00+00:00 0 +31 2019-12-28 00:00:00+00:00 0 +32 2019-12-29 00:00:00+00:00 0 +33 2019-12-30 00:00:00+00:00 0 +34 2019-12-31 00:00:00+00:00 0 +35 2020-01-01 00:00:00+00:00 5 +36 2020-01-02 00:00:00+00:00 9 +37 2020-01-03 00:00:00+00:00 1 +38 2020-01-04 00:00:00+00:00 0 +39 2020-01-05 00:00:00+00:00 0 diff --git a/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_fill_nulls_with_0_month__query_output.txt b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_fill_nulls_with_0_month__query_output.txt new file mode 100644 index 0000000000..78af74b1f8 --- /dev/null +++ b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_fill_nulls_with_0_month__query_output.txt @@ -0,0 +1,25 @@ + metric_time__month bookings_fill_nulls_with_0 +0 2019-01-01 00:00:00+00:00 0 +1 2019-02-01 00:00:00+00:00 0 +2 2019-03-01 00:00:00+00:00 0 +3 2019-04-01 00:00:00+00:00 0 +4 2019-05-01 00:00:00+00:00 0 +5 2019-06-01 00:00:00+00:00 0 +6 2019-07-01 00:00:00+00:00 0 +7 2019-08-01 00:00:00+00:00 0 +8 2019-09-01 00:00:00+00:00 0 +9 2019-10-01 00:00:00+00:00 0 +10 2019-11-01 00:00:00+00:00 0 +11 2019-12-01 00:00:00+00:00 31 +12 2020-01-01 00:00:00+00:00 15 +13 2020-02-01 00:00:00+00:00 0 +14 2020-03-01 00:00:00+00:00 0 +15 2020-04-01 00:00:00+00:00 0 +16 2020-05-01 00:00:00+00:00 0 +17 2020-06-01 00:00:00+00:00 0 +18 2020-07-01 00:00:00+00:00 0 +19 2020-08-01 00:00:00+00:00 0 +20 2020-09-01 00:00:00+00:00 0 +21 2020-10-01 00:00:00+00:00 0 +22 2020-11-01 00:00:00+00:00 0 +23 2020-12-01 00:00:00+00:00 0 diff --git a/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_join_to_time_spine__query_output.txt b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_join_to_time_spine__query_output.txt new file mode 100644 index 0000000000..3c824fc9af --- /dev/null +++ b/metricflow/test/snapshots/test_fill_nulls_with_0.py/str/Databricks/test_simple_join_to_time_spine__query_output.txt @@ -0,0 +1,41 @@ + metric_time__day bookings_join_to_time_spine +0 2019-11-27 00:00:00+00:00 NaN +1 2019-11-28 00:00:00+00:00 NaN +2 2019-11-29 00:00:00+00:00 NaN +3 2019-11-30 00:00:00+00:00 NaN +4 2019-12-01 00:00:00+00:00 1.0 +5 2019-12-02 00:00:00+00:00 NaN +6 2019-12-03 00:00:00+00:00 NaN +7 2019-12-04 00:00:00+00:00 NaN +8 2019-12-05 00:00:00+00:00 NaN +9 2019-12-06 00:00:00+00:00 NaN +10 2019-12-07 00:00:00+00:00 NaN +11 2019-12-08 00:00:00+00:00 NaN +12 2019-12-09 00:00:00+00:00 NaN +13 2019-12-10 00:00:00+00:00 NaN +14 2019-12-11 00:00:00+00:00 NaN +15 2019-12-12 00:00:00+00:00 NaN +16 2019-12-13 00:00:00+00:00 NaN +17 2019-12-14 00:00:00+00:00 NaN +18 2019-12-15 00:00:00+00:00 NaN +19 2019-12-16 00:00:00+00:00 NaN +20 2019-12-17 00:00:00+00:00 NaN +21 2019-12-18 00:00:00+00:00 10.0 +22 2019-12-19 00:00:00+00:00 18.0 +23 2019-12-20 00:00:00+00:00 2.0 +24 2019-12-21 00:00:00+00:00 NaN +25 2019-12-22 00:00:00+00:00 NaN +26 2019-12-23 00:00:00+00:00 NaN +27 2019-12-24 00:00:00+00:00 NaN +28 2019-12-25 00:00:00+00:00 NaN +29 2019-12-26 00:00:00+00:00 NaN +30 2019-12-27 00:00:00+00:00 NaN +31 2019-12-28 00:00:00+00:00 NaN +32 2019-12-29 00:00:00+00:00 NaN +33 2019-12-30 00:00:00+00:00 NaN +34 2019-12-31 00:00:00+00:00 NaN +35 2020-01-01 00:00:00+00:00 5.0 +36 2020-01-02 00:00:00+00:00 9.0 +37 2020-01-03 00:00:00+00:00 1.0 +38 2020-01-04 00:00:00+00:00 NaN +39 2020-01-05 00:00:00+00:00 NaN