suneet-s commented on a change in pull request #11631:
URL: https://github.com/apache/druid/pull/11631#discussion_r696953249
##########
File path:
server/src/main/java/org/apache/druid/segment/indexing/DataSchema.java
##########
@@ -114,7 +114,7 @@ public DataSchema(
// this validation is not necessarily going to be able to catch
everything. It will run again in getDimensionsSpec.
computeAndValidateOutputFieldNames(this.dimensionsSpec, this.aggregators);
- if (this.granularitySpec.isRollup()) {
+ if (this.granularitySpec.isRollup() && && this.aggregators.length == 0) {
Review comment:
```suggestion
if (this.granularitySpec.isRollup() && this.aggregators.length == 0) {
```
--
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]