Function gen_plan_with_matching_schema

Source
pub(crate) async fn gen_plan_with_matching_schema(
    sql: &str,
    query_ctx: QueryContextRef,
    engine: QueryEngineRef,
    sink_table_schema: SchemaRef,
) -> Result<LogicalPlan, Error>
Expand description

Generate a plan that matches the schema of the sink table from given sql by alias and adding auto columns