Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22696#discussion_r224421873
  
    --- Diff: sql/core/src/test/resources/sql-tests/inputs/group-by.sql ---
    @@ -73,3 +73,9 @@ where b.z != b.z;
     -- SPARK-24369 multiple distinct aggregations having the same argument set
     SELECT corr(DISTINCT x, y), corr(DISTINCT y, x), count(*)
       FROM (VALUES (1, 1), (2, 2), (2, 2)) t(x, y);
    +
    +-- SPARK-25708 HAVING without GROUP BY means global aggregate
    +SELECT 1 FROM range(10) HAVING true;
    --- End diff --
    
    before the fix, this returns 10 rows


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to