@Override
  public SessionDataSet executeQueryStatement(String sql)
      throws StatementExecutionException, IoTDBConnectionException {
    return executeStatementMayRedirect(sql, queryTimeoutInMs);
  }
execute query sql

@param sql query statement
@return result set
iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java