Jackie-Jiang commented on a change in pull request #4648: Enable DISTINCT and
throw exceptions for not-supported cases
URL: https://github.com/apache/incubator-pinot/pull/4648#discussion_r328405214
##########
File path:
pinot-core/src/main/java/org/apache/pinot/core/operator/query/AggregationOperator.java
##########
@@ -50,6 +54,24 @@ public AggregationOperator(@Nonnull
AggregationFunctionContext[] functionContext
_transformOperator = transformOperator;
_numTotalRawDocs = numTotalRawDocs;
_useStarTree = useStarTree;
+ checkForDistinctWithMV();
+ }
+
+ /**
+ * DISTINCT queries are currently not supported on multi-value columns.
+ * So we need to check for this scenario and throw exception until
+ * support for MV columns is implemented
Review comment:
Please add a TODO to support MV
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]