forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve validation of Group id (apache#17578)
When Group id of task group is used to prefix task id, it should follow the same limitation that task_id has, plus it should not have '.'. The '.' is used to separate groups in task id so it should not be allowed in the group id. If this is not checked at Task Group creation time, users will get messages about invalid task id during deserialization and it's not entirely obvoius where the error came from and it crashes the scheduler.. Also this validation will be performed at parsing time, rather than at deserialization time and the DAG will not even get serialized, so it will not crash the scheduler. Fixes: apache#17568
- Loading branch information
Showing
3 changed files
with
101 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters