Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.14.0
-
None
Description
In the 1.14.0 branch, I set the configuration of StreamTableEnvironment as follows:
Configuration configuration = tEnv.getConfig().getConfiguration(); configuration.setString(PipelineOptions.NAME, jobName);
It is not displayed on flink dashboard but the default insert-into_xxx name,But it is displayed normally in the 1.13.2 branch
I found that the jobname is set in line 756 of the class TableEnvironmentImpl in the source code of 1.13.2:
String jobName = getJobName("insert-into_" + String.join(",",sinkIdentifierNames)); private String getJobName(String defaultJobName) { return tableConfig.getConfiguration().getString(PipelineOptions.NAME,defaultJobName); }
But in the 1.14.0 branch, there is no getJobName method. Is there any other setting way here? Or the method should be added.