sql/src/main/java/org/apache/druid/sql/calcite/planner/PlannerFactory.java
/**
   * Create a Druid query planner from an initial query context
   */
Create a Druid query planner from an initial query context
Create a Druid query planner from an initial query context
public DruidPlanner createPlanner(final String sql, final QueryContext queryContext)
  {
    final PlannerContext context = PlannerContext.create(
        sql,
        operatorTable,
        macroTable,
        jsonMapper,
        plannerConfig,
        rootSchema,
        queryContext
    );
    return createPlannerWithContext(context);
  }
public DruidPlanner createPlanner ( final String sql , final QueryContext queryContext ) { final PlannerContext context = PlannerContext . create ( sql , operatorTable , macroTable , jsonMapper , plannerConfig , rootSchema , queryContext ) ; return createPlannerWithContext ( context ) ; }
Create a Druid query planner from an initial query context
Create a Druid query planner from an initial query context