From 16c4504753cdd4f59118cec6920d1ebc1dd57ea8 Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Fri, 10 May 2024 15:35:33 -0700 Subject: [PATCH] Remove error that users are running into (#1198) ### Description Some customers have a misconfiguration (I think) that is triggering this error. We should roll out a validation to get that fixed instead of blocking all their queries with this error. --- .../metricflow_semantics/model/semantics/linkable_element.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/metricflow-semantics/metricflow_semantics/model/semantics/linkable_element.py b/metricflow-semantics/metricflow_semantics/model/semantics/linkable_element.py index 4cbc7b0a70..a32ec248ae 100644 --- a/metricflow-semantics/metricflow_semantics/model/semantics/linkable_element.py +++ b/metricflow-semantics/metricflow_semantics/model/semantics/linkable_element.py @@ -336,10 +336,6 @@ def __post_init__(self) -> None: # noqa: D105 self.derived_from_semantic_models ), "There must be at least one semantic model from which the metric is derived." - assert ( - self.join_on_entity not in self.entity_links - ), "Entity links have been misconfigured. They should not include the join_on_entity." - @dataclass(frozen=True) class SemanticModelToMetricSubqueryJoinPath: