Skip to content

Commit

Permalink
Optimized code
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 committed Dec 28, 2023
1 parent 69efc46 commit 28eafef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ public static Map<String, String> queryDatasourceInfoByName(
+ datasourceName
+ "] datasource info ......");
LinkisDataSourceRemoteClient dataSourceClient = new LinkisDataSourceRemoteClient();
DataSource dataSource = null;

dataSource =
DataSource dataSource =
dataSourceClient
.getInfoPublishedByDataSourceName(
GetInfoPublishedByDataSourceNameAction.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public ExecuteResponse executeLine(EngineExecutionContext engineExecutorContext,
}
logger.info("Doris engine begins to run code:\n {}", realCode);

checkRequiredParameter(code);
checkRequiredParameter(realCode);

String testConnectionUrl = String.format(DORIS_URL_BOOTSTRAP, dorisHost, dorisHttpPort);

Expand Down

0 comments on commit 28eafef

Please sign in to comment.