Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
chore | adding the support to run aggregations without groupby in EDS (
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-bansal authored Jun 17, 2024
1 parent c613c1e commit 961268a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ private IRequestHandler getRequestHandler(
ExploreRequest request,
Map<String, AttributeMetadata> attributeMetadataMap,
RequestContext requestContext) {
if (isContextAnEntityType(request, requestContext)
&& !hasTimeAggregations(request)
&& !request.getGroupByList().isEmpty()) {
if (isContextAnEntityType(request, requestContext) && !hasTimeAggregations(request)) {
ExpressionContext expressionContext =
new ExpressionContext(
gatewayServiceConfig,
Expand Down

0 comments on commit 961268a

Please sign in to comment.