From 1fdfbd277ae307213a6847f1a1547478572de8aa Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Tue, 19 Dec 2023 11:05:16 -0800 Subject: [PATCH] Update snapshots for issue path change. --- ...er_resolution_for_invalid_metric_filter__result.txt | 5 +++++ ...olution_for_invalid_metric_input_filter__result.txt | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_filter__result.txt b/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_filter__result.txt index bc145bc36e..1c8462ad59 100644 --- a/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_filter__result.txt +++ b/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_filter__result.txt @@ -34,6 +34,7 @@ FilterSpecResolutionLookUp( issue_type=ERROR, query_resolution_path=MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), MetricGroupByItemResolutionNode(node_id=mtr_2), ), ), @@ -48,6 +49,7 @@ FilterSpecResolutionLookUp( measure_paths=( MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_0), MeasureGroupByItemSourceNode(node_id=msr_0), @@ -56,6 +58,7 @@ FilterSpecResolutionLookUp( ), path_from_leaf_node=MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_0), ), @@ -71,6 +74,7 @@ FilterSpecResolutionLookUp( measure_paths=( MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_1), MeasureGroupByItemSourceNode(node_id=msr_1), @@ -79,6 +83,7 @@ FilterSpecResolutionLookUp( ), path_from_leaf_node=MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_1), ), diff --git a/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_input_filter__result.txt b/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_input_filter__result.txt index da9eb74611..d64f856af1 100644 --- a/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_input_filter__result.txt +++ b/metricflow/test/snapshots/test_spec_lookup.py/str/test_filter_resolution_for_invalid_metric_input_filter__result.txt @@ -34,6 +34,8 @@ FilterSpecResolutionLookUp( issue_type=ERROR, query_resolution_path=MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), + MetricGroupByItemResolutionNode(node_id=mtr_3), MetricGroupByItemResolutionNode(node_id=mtr_2), ), ), @@ -48,6 +50,8 @@ FilterSpecResolutionLookUp( measure_paths=( MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), + MetricGroupByItemResolutionNode(node_id=mtr_3), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_0), MeasureGroupByItemSourceNode(node_id=msr_0), @@ -56,6 +60,8 @@ FilterSpecResolutionLookUp( ), path_from_leaf_node=MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), + MetricGroupByItemResolutionNode(node_id=mtr_3), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_0), ), @@ -71,6 +77,8 @@ FilterSpecResolutionLookUp( measure_paths=( MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), + MetricGroupByItemResolutionNode(node_id=mtr_3), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_1), MeasureGroupByItemSourceNode(node_id=msr_1), @@ -79,6 +87,8 @@ FilterSpecResolutionLookUp( ), path_from_leaf_node=MetricFlowQueryResolutionPath( resolution_path_nodes=( + QueryGroupByItemResolutionNode(node_id=qr_0), + MetricGroupByItemResolutionNode(node_id=mtr_3), MetricGroupByItemResolutionNode(node_id=mtr_2), MetricGroupByItemResolutionNode(node_id=mtr_1), ),