eladkal commented on code in PR #63420:
URL: https://github.com/apache/airflow/pull/63420#discussion_r2931401656
##########
providers/databricks/src/airflow/providers/databricks/operators/databricks.py:
##########
@@ -1366,6 +1380,13 @@ def _convert_to_databricks_workflow_task(
**base_task_json,
}
+ trigger_rule_value = (
+ self.trigger_rule.value if hasattr(self.trigger_rule, "value")
else str(self.trigger_rule)
+ )
+ databricks_run_if =
_TRIGGER_RULE_TO_DATABRICKS_RUN_IF.get(trigger_rule_value)
+ if databricks_run_if:
+ result["run_if"] = databricks_run_if
Review Comment:
maybe it would be a good idea to have a log entry explaining to user what
mapping decision was made? Should make it easier to debug issues if occurs
--
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]