For example, suppose you have a task named process_records that maintains a count of records that are not valid in a value named bad_records, and you want to branch processing when you encounter bad records. To add this logic to your workflow, you can create an If/else condition task ...
The__exit__method of theDatabricksWorkflowTaskGroupoperator is capable of raise an exception (it literally does it If you instance an operator class that cannot be serialized into a jsonhere) If something inside the method raises, there will not be called the__exit__method of the superclass,...