weixiangsun commented on a change in pull request #8029:
URL: https://github.com/apache/pinot/pull/8029#discussion_r814092555



##########
File path: 
pinot-core/src/main/java/org/apache/pinot/core/data/table/IndexedTable.java
##########
@@ -65,10 +66,15 @@ protected IndexedTable(DataSchema dataSchema, QueryContext 
queryContext, int res
     _lookupMap = lookupMap;
     _resultSize = resultSize;
 
-    List<ExpressionContext> groupByExpressions = 
queryContext.getGroupByExpressions();
+    List<ExpressionContext> groupByExpressions;
+    if (queryContext.getGapfillType() != GapfillUtils.GapfillType.NONE) {
+      groupByExpressions = GapfillUtils.getGroupByExpressions(queryContext);
+    } else {
+      groupByExpressions = queryContext.getGroupByExpressions();
+    }
+    _aggregationFunctions = queryContext.getAggregationFunctions();

Review comment:
       Fixed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to