示例#1
0
def exec_call_stored_procedure(task, runner: QueryRunner, **kwargs):
    airflow_context = kwargs['airflow_context']
    sql = airflow_context['templates_dict']['sql']

    runner.call_stored_procedure(
        query=sql
    )
def exec_call_stored_procedure(task, runner: QueryRunner, **kwargs):
    airflow_context = kwargs["airflow_context"]
    sql = airflow_context["templates_dict"]["sql"]

    runner.call_stored_procedure(query=sql)