@Override
  public DatabaseMetaData getMetaData()
      throws SQLException {
    return new PinotConnectionMetaData(this, _controllerURL, _controllerTransport);
  }
@Test
  public void getMetaDataTest()
          throws Exception {
    try (PinotConnection pinotConnection =
                 new PinotConnection("dummy", _dummyPinotClientTransport, "dummy", _dummyPinotControllerTransport)) {
      DatabaseMetaData metaData = pinotConnection.getMetaData();
      Assert.assertNotNull(metaData);
      Assert.assertTrue(metaData.getDatabaseMajorVersion() > 0);
      Assert.assertTrue(metaData.getDatabaseMinorVersion() >= 0);
      Assert.assertEquals(metaData.getDatabaseProductName(), "APACHE_PINOT");
      Assert.assertEquals(metaData.getDriverName(), "APACHE_PINOT_DRIVER");
      Assert.assertNotNull(metaData.getConnection());
    }
  }