From 030886e2aea803e37a8b49589a8d9390a4dbf712 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Fri, 8 Nov 2024 12:21:49 -0800 Subject: [PATCH] Update snapshots. --- .../str/test_shared_metric_query__result.txt | 160 ++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 tests_metricflow/snapshots/test_common_dataflow_branches.py/str/test_shared_metric_query__result.txt diff --git a/tests_metricflow/snapshots/test_common_dataflow_branches.py/str/test_shared_metric_query__result.txt b/tests_metricflow/snapshots/test_common_dataflow_branches.py/str/test_shared_metric_query__result.txt new file mode 100644 index 000000000..f8bff0393 --- /dev/null +++ b/tests_metricflow/snapshots/test_common_dataflow_branches.py/str/test_shared_metric_query__result.txt @@ -0,0 +1,160 @@ +test_name: test_shared_metric_query +test_filename: test_common_dataflow_branches.py +docstring: + For a known case, test that a metric computation node is identified as a common branch. + + A query for `bookings` and `bookings_per_booker` should have the computation for `bookings` as a common branch in + the dataflow plan. +--- +dataflow_plan: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +common_branch_0: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +common_branch_1: + + + + + + + + + +