Martijn Visser created FLINK-41557:
--------------------------------------
Summary: EXECUTE PLAN fails with a NullPointerException for an
unknown ExecNode version
Key: FLINK-41557
URL: https://issues.apache.org/jira/browse/FLINK-41557
Project: Flink
Issue Type: Improvement
Components: Table SQL / Planner
Reporter: Martijn Visser
A plan with a node type that the running Flink doesn't know, for example
{{stream-exec-join_9}}, fails on {{EXECUTE PLAN}} with a bare
{{java.lang.NullPointerException}}, because
{{ExecNodeMetadataUtil#retrieveExecNode}} returns null and
{{ExecNodeTypeIdResolver}} passes it on. This is what a user will see when a
version of a node is removed or a plan is edited. We should throw an exception
that names the node type and the versions that are supported.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)