code: def scd_dataflow_to_sql_converter(  # noqa: D
      scd_semantic_manifest_lookup: SemanticManifestLookup,
  ) -> DataflowToSqlQueryPlanConverter:
      return DataflowToSqlQueryPlanConverter(
          column_association_resolver=DunderColumnAssociationResolver(
              scd_semantic_manifest_lookup
          ),
          semantic_manifest_lookup=scd_semantic_manifest_lookup,
      )
  
imports: from __future__ import annotations
  import pytest
  from _pytest.fixtures import FixtureRequest
  from dbt_semantic_interfaces.implementations.filters.where_filter import PydanticWhereFilter
  from dbt_semantic_interfaces.naming.keywords import METRIC_TIME_ELEMENT_NAME
  from dbt_semantic_interfaces.references import EntityReference
  from dbt_semantic_interfaces.test_utils import as_datetime
  from dbt_semantic_interfaces.type_enums.time_granularity import TimeGranularity
  from metricflow.dataflow.builder.dataflow_plan_builder import DataflowPlanBuilder
  from metricflow.dataset.dataset import DataSet
  from metricflow.filters.time_constraint import TimeRangeConstraint
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.plan_conversion.column_resolver import DunderColumnAssociationResolver
  from metricflow.plan_conversion.dataflow_to_sql import DataflowToSqlQueryPlanConverter
  from metricflow.protocols.sql_client import SqlClient
  from metricflow.query.query_parser import MetricFlowQueryParser
  from metricflow.specs.column_assoc import ColumnAssociationResolver
  from metricflow.specs.specs import DimensionSpec, MetricFlowQuerySpec, MetricSpec, TimeDimensionSpec
  from metricflow.test.fixtures.model_fixtures import ConsistentIdObjectRepository
  from metricflow.test.fixtures.setup_fixtures import MetricFlowTestSessionState
  from metricflow.test.query_rendering.compare_rendered_query import convert_and_check
  from metricflow.test.time.metric_time_dimension import MTD_SPEC_DAY
label_desc: Use image node_id 2 for calling a global function with example usage: scd_dataflow_to_sql_converter(scd_semantic_manifest_lookup) and returns: DataflowToSqlQueryPlanConverter