private static List<String> loadFile(String dbType) throws Exception {
    List<String> lines = Resources.readLines(getDdlUrl(dbType), Charsets.UTF_8);
    List<String> replaced = new ArrayList<>(lines.size());
    for (String line: lines) { replaced.add(line.toLowerCase()); }
    return replaced;
  }
Loads and parses the DDL for a specific database type (e.g. Postgres). Already loaded DDL's are cached.
@param dbType One of the supported databases @see #DATABASES
@return the parsed DDL
@throws Exception if exception occurs during loading/parsing
ambari-server/src/test/java/org/apache/ambari/server/orm/db/DDLTestUtils.java