presto-parser/src/main/java/io/prestosql/sql/tree/RowDataType.java/RowDataType/equals
class RowDataType:        @Override
        public boolean equals(Object o)
        {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            Field field = (Field) o;
            return name.equals(field.name) &&
                    type.equals(field.type);
        }