public static ArrayList<String> formattedRun(IDriver driver, String name, String selectCmd)
      throws IOException, CommandProcessorException {
    driver.run(selectCmd);
    ArrayList<String> src_values = new ArrayList<String>();
    driver.getResults(src_values);
    LOG.info("{} : {}", name, src_values);
    return src_values;
  }
Helper class for Other Data Testers
hcatalog/core/src/test/java/org/apache/hive/hcatalog/data/HCatDataCheckUtil.java