You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2021/08/09 03:26:00 UTC
[jira] [Created] (FLINK-23681) Rename the field name of
OperatorIDPair to avoid the confusion
Yun Gao created FLINK-23681:
-------------------------------
Summary: Rename the field name of OperatorIDPair to avoid the confusion
Key: FLINK-23681
URL: https://issues.apache.org/jira/browse/FLINK-23681
Project: Flink
Issue Type: Bug
Reporter: Yun Gao
For the OperatorIDPair, currently the name might have some misleadings: the generatedOperatorID is based on both uid and the nature order if uid is not set (StreamGraphHasherV2), and the userDefinedOperatorID is based on the uidHash (StreamGraphUserHashHasher). The second one should only be used if users forget to set a customized uid on the first run, but want to restore from the state, then users could directly specify the uidHash and it will be used as the operator id directly.
Thus the current name might cause the confusion that it is easily to think they are based on the nature order or the uid field. Thus we might rename the fields to be more clear.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)