You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "bfeif (via GitHub)" <gi...@apache.org> on 2023/09/21 17:18:00 UTC
[GitHub] [airflow] bfeif opened a new issue, #34526: BaseBranchOperator should allow passing of a Taskgroup group_id.
bfeif opened a new issue, #34526:
URL: https://github.com/apache/airflow/issues/34526
### Description
At present, `BaseBranchOperator` only accepts `task_id`'s as possible branches. This can be awkward in the case that a `Taskgroup` is one of the branches: for example if the `Taskgroup` starts with two parallel tasks, then an additional task must be created at the start of the `Taskgroup` (e.g. `start_taskgroup`) for the `BaseBranchOperator` to point to. Forcing this can impede readability.
### Use case/motivation
Simple--`BaseBranchOperator` should accept a `Taskgroup` `group_id` as a possible branch, as opposed to only accepting task `task_id`'s as possibile branches.
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BaseBranchOperator should allow passing of a Taskgroup group_id. [airflow]
Posted by "tsafacjo (via GitHub)" <gi...@apache.org>.
tsafacjo commented on issue #34526:
URL: https://github.com/apache/airflow/issues/34526#issuecomment-1789700434
can I take this issue ?
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] Taragolis commented on issue #34526: BaseBranchOperator should allow passing of a Taskgroup group_id.
Posted by "Taragolis (via GitHub)" <gi...@apache.org>.
Taragolis commented on issue #34526:
URL: https://github.com/apache/airflow/issues/34526#issuecomment-1732131177
Just add some additional information why it doesn't work right now and why it won't work without serious refactoring.
There is no information about task group after it created, it just a nice namespace with additional abilities during DAG creation, all other information not available during DagRun because it transform into a prefix(es) for task_id:
- No any API
- No DB Record for task group, except information in `serialized_dag`
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BaseBranchOperator should allow passing of a Taskgroup group_id. [airflow]
Posted by "bfeif (via GitHub)" <gi...@apache.org>.
bfeif commented on issue #34526:
URL: https://github.com/apache/airflow/issues/34526#issuecomment-1791043181
> can I take this issue ?
Fine by me, @tsafacjo! I look forward to seeing you solution ;)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BaseBranchOperator should allow passing of a Taskgroup group_id. [airflow]
Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal closed issue #34526: BaseBranchOperator should allow passing of a Taskgroup group_id.
URL: https://github.com/apache/airflow/issues/34526
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BaseBranchOperator should allow passing of a Taskgroup group_id. [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #34526:
URL: https://github.com/apache/airflow/issues/34526#issuecomment-1791522500
Assigned
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] Taragolis commented on issue #34526: BaseBranchOperator should allow passing of a Taskgroup group_id.
Posted by "Taragolis (via GitHub)" <gi...@apache.org>.
Taragolis commented on issue #34526:
URL: https://github.com/apache/airflow/issues/34526#issuecomment-1732136233
Better you could do right now it is provide `{task_group_variable}.roots` into the branch operator
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org