gopidesupavan commented on code in PR #52497:
URL: https://github.com/apache/airflow/pull/52497#discussion_r2174981044
##########
providers/apache/kylin/tests/system/apache/kylin/example_kylin_dag.py:
##########
@@ -49,37 +50,35 @@ def gen_build_time():
return {"date_start": "1325347200000", "date_end": "1325433600000"}
gen_build_time_task = gen_build_time()
- gen_build_time_output_date_start = gen_build_time_task["date_start"]
- gen_build_time_output_date_end = gen_build_time_task["date_end"]
build_task1 = KylinCubeOperator(
task_id="kylin_build_1",
command="build",
- start_time=gen_build_time_output_date_start,
- end_time=gen_build_time_output_date_end,
+ start_time="{{
task_instance.xcom_pull(task_ids='gen_build_time')['date_start'] }}",
+ end_time="{{
task_instance.xcom_pull(task_ids='gen_build_time')['date_end'] }}",
Review Comment:
That wont work, its wrong way declared IMHO, i tried it with the dag was
failing with xcom pulling.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]