diff --git a/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py b/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py index 2b8d8e667..b0cb079eb 100644 --- a/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py +++ b/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py @@ -1822,8 +1822,7 @@ def create( # noqa: D102 ) -> SqlCaseExpression: parent_nodes: Tuple[SqlExpressionNode, ...] = () for when, then in when_to_then_exprs.items(): - parent_nodes += (when,) - parent_nodes += (then,) + parent_nodes += (when, then) if else_expr: parent_nodes += (else_expr,)