public List<String> getTableColNames(String dbName, String tableName) throws Exception {
    List<String> colNames = new ArrayList();
    client.getSchema(dbName, tableName).forEach(fs -> colNames.add(fs.getName()));
    return colNames;
  }
@param dbName, database name
@param tableName, table name
@return - list of columns of given table in the given database.
@throws Exception
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java