Bq = bigquery_operator.BigQueryOperator(
task_id="Bq",
bigquery_conn_id='xxxxxxxxxxx',
use_legacy_sql=False,
sql='aaaaaaa.sql',
params={"project_id": project_id,
"dataset_table_name": bq_dataset_table_name,
"target_date": '{{ti.xcom_pull(task_ids="date")["date"]}}'},
)
If you do this, the xcom_pull will not be expanded and will be passed to SQL. Is there a solution?