pnowojski commented on a change in pull request #8295: [FLINK-11974][runtime] Introduce StreamOperatorFactory URL: https://github.com/apache/flink/pull/8295#discussion_r280467152
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphHasherV2.java ########## @@ -252,9 +253,12 @@ private boolean generateNodeHash( if (LOG.isDebugEnabled()) { String udfClassName = ""; - if (node.getOperator() instanceof AbstractUdfStreamOperator) { - udfClassName = ((AbstractUdfStreamOperator<?, ?>) node.getOperator()) - .getUserFunction().getClass().getName(); + if (node.getOperatorFactory() instanceof SimpleOperatorFactory) { Review comment: ditto about factories. `if (node.getOperatorFactory() instanceof UdfStreamOperatorFactory)`? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services