How to parse user_defined_macro in regular function or PythonOperator in Airflow
How to parse user_defined_macro in regular function or PythonOperator in Airflow Question: We use managed Airflow inside a GCP project. When I used BigQueryInsertJobOperator to execute queries in a query file, it used to automatically replace user_defined_macros in those files with the set value. from airflow import DAG from datetime import datetime from airflow.providers.google.cloud.operators.bigquery import …