private void commandSelect(CliCommand command) throws ExecutorException {
    QueryResult queryResult = executor.executeQuery(exeContext, command.getFullCommand());
    CliView view = new QueryResultLogView();
    view.open(shell, queryResult);
    executor.stopExecution(exeContext, queryResult.getExecutionId());
  }
Handles the given command
@param command input {@link CliCommand} to handle
@return false if command is to quit, or fatal error happened that Shell should not continue running. True o.w.
@throws CommandHandlerException if unrecoverable error happened while handling the input {@link CliCommand}
samza-sql-shell/src/main/java/org/apache/samza/sql/client/impl/CliCommandHandler.java