@Override
      public boolean accept(Path p) {
        try {
          return fs.isDirectory(p);
        } catch (IOException e) {
          throw new RuntimeException(e);
        }
      }
Compares the schemas - names, types and order, but ignoring comments

@param newSchema
         the new schema
@param oldSchema
         the old schema
@return a boolean indicating match
ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java