tmwangi opened a new issue #5690:
URL: https://github.com/apache/incubator-pinot/issues/5690
Currently DISTINCTCOUNT on a column with the BYTES type does not work. The
error returned is:
```
org.apache.pinot.client.PinotClientException: Query had processing
exceptions: [{"errorCode":200,"message":"QueryExecutionError:
java.lang.IllegalStateException: Illegal data type for DISTINCT_COUNT
aggregation function: BYTES
at
org.apache.pinot.core.query.aggregation.function.DistinctCountAggregationFunction.aggregate(DistinctCountAggregationFunction.java:91)
at
org.apache.pinot.core.query.aggregation.DefaultAggregationExecutor.aggregate(DefaultAggregationExecutor.java:94)
at
org.apache.pinot.core.operator.query.AggregationOperator.getNextBlock(AggregationOperator.java:65)
at
org.apache.pinot.core.operator.query.AggregationOperator.getNextBlock(AggregationOperator.java:35)
at
org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:49)
at
```
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]