From 504de2b7d9d49dd227c931afe20fceaace058ffc Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Thu, 5 Dec 2024 10:35:00 -0800 Subject: [PATCH] Add log line for SQL generation option set. --- metricflow/plan_conversion/dataflow_to_sql.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metricflow/plan_conversion/dataflow_to_sql.py b/metricflow/plan_conversion/dataflow_to_sql.py index 61d3d510e..b7fc9d3b7 100644 --- a/metricflow/plan_conversion/dataflow_to_sql.py +++ b/metricflow/plan_conversion/dataflow_to_sql.py @@ -194,6 +194,8 @@ def convert_to_sql_query_plan( optimization_level, use_column_alias_in_group_by=use_column_alias_in_group_by ) + logger.info(LazyFormat("Using option set:", option_set=option_set)) + nodes_to_convert_to_cte: FrozenSet[DataflowPlanNode] = frozenset() if option_set.allow_cte: nodes_to_convert_to_cte = self._get_nodes_to_convert_to_cte(dataflow_plan_node)