public void getSqlResult(Context ctx) {
    String sessionId = ctx.pathParamAsClass("sessionId", String.class).get();
    List<SqlResult> results = terminalManager.getExecutionResults(sessionId);
    ctx.json(OkResponse.of(results));
  }
Get execute result of some session
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/TerminalController.java