class_docstr: Task builder for standard data warehouse validation tasks.
class_docstr_tok: ["Task","builder","for","standard","data","warehouse","validation","tasks","."]
docstr: Generates a sql query plan and returns the rendered sql and bind_parameters.
docstr_tok: ["Generates","a","sql","query","plan","and","returns","the","rendered","sql","and","bind_parameters","."]
code: def renderize(
      sql_client: SqlClient,
      plan_converter: DataflowToSqlQueryPlanConverter,
      plan_id: str,
      nodes: FilterElementsNode,
  ) -> Tuple[str, SqlBindParameters]:
      """Generates a sql query plan and returns the rendered sql and bind_parameters."""
      sql_plan = plan_converter.convert_to_sql_query_plan(
          sql_engine_type=sql_client.sql_engine_type,
          sql_query_plan_id=plan_id,
          dataflow_plan_node=nodes,
      )
  
      rendered_plan = (
          sql_client.sql_query_plan_renderer.render_sql_query_plan(
              sql_plan
          )
      )
      return (rendered_plan.sql, rendered_plan.bind_parameters)
  
imports: from __future__ import annotations
  import collections
  import traceback
  from dataclasses import dataclass, field
  from functools import partial
  from math import floor
  from time import perf_counter
  from typing import Callable, DefaultDict, Dict, List, Optional, Sequence, Tuple, TypeVar
  from dbt_semantic_interfaces.protocols.metric import Metric
  from dbt_semantic_interfaces.protocols.semantic_manifest import SemanticManifest
  from dbt_semantic_interfaces.protocols.semantic_model import SemanticModel
  from dbt_semantic_interfaces.references import MetricModelReference, SemanticModelElementReference, SemanticModelReference
  from dbt_semantic_interfaces.validations.validator_helpers import FileContext, MetricContext, SemanticManifestValidationResults, SemanticModelContext, SemanticModelElementContext, SemanticModelElementType, ValidationContext, ValidationError, ValidationIssue, ValidationWarning
  from metricflow.dataflow.builder.node_data_set import DataflowPlanNodeOutputDataSetResolver
  from metricflow.dataflow.builder.source_node import SourceNodeBuilder
  from metricflow.dataflow.dataflow_plan import BaseOutput, FilterElementsNode
  from metricflow.dataset.convert_semantic_model import SemanticModelToDataSetConverter
  from metricflow.dataset.dataset import DataSet
  from metricflow.engine.metricflow_engine import MetricFlowEngine, MetricFlowExplainResult, MetricFlowQueryRequest
  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.plan_conversion.time_spine import TimeSpineSource
  from metricflow.protocols.sql_client import SqlClient
  from metricflow.specs.specs import InstanceSpecSet, LinkableInstanceSpec, MeasureSpec
  from metricflow.sql.sql_bind_parameters import SqlBindParameters
label_desc: Use image node_id 3 for calling the DataWarehouseTaskBuilder obj's underlying member method code with example usage: obj.renderize(sql_client, plan_converter, plan_id, nodes) and returns: rendered_plan,  rendered_plan