eladkal commented on code in PR #46781:
URL: https://github.com/apache/airflow/pull/46781#discussion_r1970413279
##########
providers/google/src/airflow/providers/google/cloud/operators/dataproc.py:
##########
@@ -2708,6 +2710,25 @@ def
_inject_openlineage_properties_into_dataproc_batch(self, context: Context) -
exc_info=e,
)
+ def __update_batch_labels(self):
+ dag_id = re.sub(r"[.\s]", "_", self.dag_id.lower())
+ task_id = re.sub(r"[.\s]", "_", self.task_id.lower())
Review Comment:
Didnt meant to replace dag_id.
My intention was to add another label
##########
providers/google/src/airflow/providers/google/cloud/operators/dataproc.py:
##########
@@ -2708,6 +2710,25 @@ def
_inject_openlineage_properties_into_dataproc_batch(self, context: Context) -
exc_info=e,
)
+ def __update_batch_labels(self):
+ dag_id = re.sub(r"[.\s]", "_", self.dag_id.lower())
+ task_id = re.sub(r"[.\s]", "_", self.task_id.lower())
Review Comment:
Didnt mean to replace dag_id.
My intention was to add another label
--
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]