tibrewalpratik17 commented on code in PR #13792:
URL: https://github.com/apache/pinot/pull/13792#discussion_r1724517053
##########
pinot-common/src/main/java/org/apache/pinot/sql/parsers/rewriter/NonAggregationGroupByToDistinctQueryRewriter.java:
##########
@@ -76,6 +75,7 @@ public PinotQuery rewrite(PinotQuery pinotQuery) {
}
}
Set<Expression> groupByExpressions = new
HashSet<>(pinotQuery.getGroupByList());
+ //If SELECT and GROUP BY set are equal, rewrite the query as DISTINCT
Review Comment:
```suggestion
// If SELECT and GROUP BY set are equal, rewrite the query as DISTINCT
```
nit
--
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]