From 549313e410be17be160b2fc47fbc2cc65854abdd Mon Sep 17 00:00:00 2001 From: Will Deng Date: Thu, 16 Nov 2023 13:17:01 -0500 Subject: [PATCH] updated transformation step --- .../transformations/add_input_metric_measures.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dbt_semantic_interfaces/transformations/add_input_metric_measures.py b/dbt_semantic_interfaces/transformations/add_input_metric_measures.py index c29bce8f..6326857f 100644 --- a/dbt_semantic_interfaces/transformations/add_input_metric_measures.py +++ b/dbt_semantic_interfaces/transformations/add_input_metric_measures.py @@ -42,6 +42,9 @@ def _get_measures_for_metric( measures.update( AddInputMetricMeasuresRule._get_measures_for_metric(semantic_manifest, input_metric.name) ) + elif matched_metric.type is MetricType.CONVERSION: + measures.add(matched_metric.conversion_params.base_measure) + measures.add(matched_metric.conversion_params.conversion_measure) else: assert_values_exhausted(matched_metric.type) else: