metricflow icon indicating copy to clipboard operation
metricflow copied to clipboard

[SL-2147] [Bug] You should be able to silence Pydantic warning for multiple identical input measures

Open Jstein77 opened this issue 9 months ago • 2 comments

Is this a new bug in metricflow?

  • [X] I believe this is a new bug in metricflow
  • [X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

I've been receiving the following message for multiple metrics when i parse my project. There aren't any errors in these metrics and they aren't duplicated. 17:09:30 PydanticMetric metrics_queried_l14d_wow_growth has multiple identical input measures specifications for measure metrics_queried. This might be hiding a semantic error. Input measure specification: name='metrics_queried' filter=None alias=None join_to_timespine=False fill_nulls_with=None.

Expected Behavior

I should be able to silence these warning, or we should provide a path to fix these warnings.

Steps To Reproduce

Create a metric with multiple identical input measures specifications and run dbt parse

Relevant log output

No response

Environment

- OS:
- Python:
- dbt:
- metricflow:

Which database are you using?

No response

Additional Context

No response

SL-2147

Jstein77 avatar May 07 '24 17:05 Jstein77