-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10.0
-
Component/s: API / DataStream
-
Labels:
-
Release Note:The `ExecutionConfig#setGlobalJobParameters` only accepts non null argument values.
Currently when accessing ExecutionConfig#getGlobalJobParameters this will return `null` if no globalJobParameters are set. This can easily lead to NullPointerExceptions when used with getGlobalJobParameters.toMap()
An easy improvement for this would be to just return a new instance of GlobalJobParameters if none is set with the empty map as the parameters
This would be a breaking change since we expose this via RuntimeContext#getExecutionConfig
- links to