Skip to content

Commit

Permalink
update query
Browse files Browse the repository at this point in the history
Signed-off-by: jayzhan211 <[email protected]>
  • Loading branch information
jayzhan211 committed Jun 18, 2024
1 parent 33eba56 commit e46acbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion benchmarks/queries/clickbench/queries.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SELECT "UserID", concat("SearchPhrase", 'helloworld21') as s, COUNT(*) FROM hits GROUP BY "UserID", s LIMIT 10;
SELECT "UserID", "SearchPhrase", COUNT(*) FROM hits GROUP BY "UserID", "SearchPhrase" ORDER BY COUNT(*) DESC LIMIT 10;
SELECT "UserID", "SearchPhrase", COUNT(*) FROM hits GROUP BY "UserID", "SearchPhrase" LIMIT 10;
SELECT "UserID", concat("SearchPhrase", repeat('hello', 100)) as s, COUNT(*) FROM hits GROUP BY "UserID", s LIMIT 10;
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl GroupValues for GroupValuesRows {

let mut group_values = match self.group_values.take() {
Some(group_values) => group_values,
None => self.row_converter.empty_rows(n_rows, 0),
None => self.row_converter.empty_rows(0, 0),
};

// tracks to which group each of the input rows belongs
Expand Down

0 comments on commit e46acbc

Please sign in to comment.