uranusjr commented on code in PR #68555:
URL: https://github.com/apache/airflow/pull/68555#discussion_r3416613624
##########
java-sdk/example/src/resources/dags/java_examples.py:
##########
@@ -53,7 +62,9 @@ def java_interface_example():
def java_annotation_example():
transformed = transform()
python_task_1() >> extract() >> transformed
- python_task_2(transformed)
+ # ``load`` fails once then succeeds on retry; keep it a leaf so its retry
is
+ # observable without affecting the Python task that pulls the Java XCom.
+ transformed >> [load(), python_task_2(transformed)]
Review Comment:
```suggestion
python_task_2(transformed)
# ``load`` fails once then succeeds on retry; keep it a leaf so its
retry is
# observable without affecting the Python task that pulls the Java XCom.
transformed >> load()
```
We don’t need to duplicate the dependency between `transformed` and
`python_task_2`.
--
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]