presto-parser/src/main/java/io/prestosql/sql/tree/GroupBy.java/GroupBy/equals
class GroupBy:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        GroupBy groupBy = (GroupBy) o;
        return isDistinct == groupBy.isDistinct &&
                Objects.equals(groupingElements, groupBy.groupingElements);
    }