@Override
  public Statement createStatement()
      throws SQLException {
    validateState();
    return new PinotStatement(this);
  }
@Test
  public void setUserAgentTest()
      throws Exception {
    StringBuilder appId = new StringBuilder("appId-");
    for (int i = 0; i < 256; i++) {
       appId.append(i);
    }
    DummyPinotControllerTransport userAgentPinotControllerTransport = DummyPinotControllerTransport
        .create(appId.toString());

    PinotConnection pinotConnection =
        new PinotConnection("dummy", _dummyPinotClientTransport, "dummy", userAgentPinotControllerTransport);
    Statement statement = pinotConnection.createStatement();
    Assert.assertNotNull(statement);
  }