Skip to content

Commit

Permalink
[Feature][Engine] Support execute job without view permission
Browse files Browse the repository at this point in the history
  • Loading branch information
zixi0825 committed Aug 25, 2024
1 parent 4ea6eb9 commit ef8f405
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void buildSinkConfigs() throws DataVinesException {
connectorParameterMap.put(ERROR_DATA_FILE_NAME, jobExecutionInfo.getErrorDataFileName());
connectorParameterMap.put(ERROR_DATA_DIR, metricInputParameter.get(ERROR_DATA_DIR));
connectorParameterMap.put(METRIC_NAME, metricInputParameter.get(METRIC_NAME));
boolean isEnableUseView = true;
boolean isEnableUseView = false;
if (metricInputParameter.get(ENABLE_USE_VIEW) != null) {
isEnableUseView = Boolean.parseBoolean(metricInputParameter.get(ENABLE_USE_VIEW));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void buildSinkConfigs() throws DataVinesException {
connectorParameterMap.put(ERROR_DATA_FILE_NAME, jobExecutionInfo.getErrorDataFileName());
connectorParameterMap.put(ERROR_DATA_DIR, metricInputParameter.get(ERROR_DATA_DIR));
connectorParameterMap.put(METRIC_NAME, metricInputParameter.get(METRIC_NAME));
boolean isEnableUseView = true;
boolean isEnableUseView = false;
if (metricInputParameter.get(ENABLE_USE_VIEW) != null) {
isEnableUseView = Boolean.parseBoolean(metricInputParameter.get(ENABLE_USE_VIEW));
}
Expand Down

0 comments on commit ef8f405

Please sign in to comment.