public ITableSession build() throws IoTDBConnectionException {
    if (nodeUrls == null) {
      this.nodeUrls =
          Collections.singletonList(SessionConfig.DEFAULT_HOST + ":" + SessionConfig.DEFAULT_PORT);
    }
    this.sqlDialect = TABLE;
    Session newSession = new Session(this);
    newSession.open(enableCompression, connectionTimeoutInMs);
    return new TableSession(newSession);
  }
Builds and returns a configured {@link ITableSession} instance.

@return a fully configured {@link ITableSession}.
@throws IoTDBConnectionException if an error occurs while establishing the connection.
iotdb-client/session/src/main/java/org/apache/iotdb/session/TableSessionBuilder.java