From 961268a59b8cf13b00fc17494e1df31116148a12 Mon Sep 17 00:00:00 2001 From: aman bansal Date: Mon, 17 Jun 2024 11:05:35 +0530 Subject: [PATCH] chore | adding the support to run aggregations without groupby in EDS (#203) --- .../hypertrace/gateway/service/explore/ExploreService.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gateway-service-impl/src/main/java/org/hypertrace/gateway/service/explore/ExploreService.java b/gateway-service-impl/src/main/java/org/hypertrace/gateway/service/explore/ExploreService.java index 91fba039..7b4f5088 100644 --- a/gateway-service-impl/src/main/java/org/hypertrace/gateway/service/explore/ExploreService.java +++ b/gateway-service-impl/src/main/java/org/hypertrace/gateway/service/explore/ExploreService.java @@ -146,9 +146,7 @@ private IRequestHandler getRequestHandler( ExploreRequest request, Map attributeMetadataMap, RequestContext requestContext) { - if (isContextAnEntityType(request, requestContext) - && !hasTimeAggregations(request) - && !request.getGroupByList().isEmpty()) { + if (isContextAnEntityType(request, requestContext) && !hasTimeAggregations(request)) { ExpressionContext expressionContext = new ExpressionContext( gatewayServiceConfig,