[ 
https://issues.apache.org/jira/browse/FLINK-25932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602182#comment-17602182
 ] 

Timo Walther commented on FLINK-25932:
--------------------------------------

Hi [~tonywei], no it will not be deterministic. This is why we fixed 
FLINK-28861. We only use the UID generation for compiled plans again (so only 
1.15.0 and 1.15.1 had this problem). Every other usage could cause unintended 
side effects when multiple plannings are performed or multiple 
TableEnvironments are used.

> Introduce ExecNodeContext.generateUid()
> ---------------------------------------
>
>                 Key: FLINK-25932
>                 URL: https://issues.apache.org/jira/browse/FLINK-25932
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>            Reporter: Timo Walther
>            Assignee: Francesco Guardiani
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> FLINK-25387 introduced an {{ExecNodeContext}} which contains all information 
> to generate unique and deterministic identifiers for all created 
> {{Transformation}}.
> This issue includes:
> - Add {{ExecNodeContext.generateUid(operatorName: String): String}}
> - Go through all ExecNodes and give transformations a uid. The name can be 
> constant static field within the ExecNode such that both annotation and 
> method can use it.
> - We give all transformations a uid, including stateless ones.
> - The final UID should look like: 
> {{13_stream-exec-sink_1_upsert-materializer}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to