Skip to content

Commit

Permalink
fix(clickhouse-driver): Support ungrouped query, fix #2717 (#2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
donge committed May 12, 2021
1 parent eda24b8 commit 82efc98
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ export class ClickHouseQuery extends BaseQuery {
}

groupByClause() {
if (this.ungrouped) {
return '';
}
//
// ClickHouse doesn't support group by index column, so map these to the alias names
//
Expand Down

0 comments on commit 82efc98

Please sign in to comment.