Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-pandit committed Nov 7, 2023
1 parent 42f0462 commit 4e27cd0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ public void testEmptyGroupingSets()
// Returns a single row with the global aggregation. There are no rows for the orderkey group.
assertQuery("SELECT count(orderkey) FROM orders WHERE orderkey < 0 GROUP BY GROUPING SETS ((orderkey), ())");

// This is a shorthand for the above query. It returns a single row with the global aggregation.
// This is a shorthand for the above query. Returns a single row with the global aggregation.
assertQuery("SELECT count(orderkey) FROM orders WHERE orderkey < 0 GROUP BY CUBE (orderkey)");

assertQuery("SELECT count(orderkey) FROM orders WHERE orderkey < 0 GROUP BY ROLLUP (orderkey)");

// The following return a single row with NULL orderkey.
// Returns a single row with NULL orderkey.
assertQuery("SELECT orderkey FROM orders WHERE orderkey < 0 GROUP BY CUBE (orderkey)");

assertQuery("SELECT orderkey FROM orders WHERE orderkey < 0 GROUP BY ROLLUP (orderkey)");
Expand Down

0 comments on commit 4e27cd0

Please sign in to comment.