dianfu commented on code in PR #27831:
URL: https://github.com/apache/flink/pull/27831#discussion_r3005894853
##########
flink-python/pyflink/table/udf.py:
##########
@@ -66,6 +75,57 @@ def get_job_parameter(self, key: str, default_value: str) ->
str:
"""
return self._job_parameters[key] if key in self._job_parameters else
default_value
+ def get_task_name(self) -> str:
+ """
+ Returns the name of the task in which the UDF runs, as assigned during
plan construction.
+
+ .. versionadded:: 2.2.0
Review Comment:
the next version should be 2.3.0
--
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]