Skip to content

Commit

Permalink
DH-11788: Enable count aggregations for non-rollups
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmmcken committed Dec 7, 2021
1 parent 113f731 commit 9fa52ab
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import AggregationOperation from './AggregationOperation';
*/
export const isRollupOperation = (type: AggregationOperation): boolean => {
switch (type) {
case AggregationOperation.COUNT:
return true;
// currently no rollup only operations, but there has been in the past
default:
return false;
}
Expand Down

0 comments on commit 9fa52ab

Please sign in to comment.