[ 
https://issues.apache.org/jira/browse/SOLR-8919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16683413#comment-16683413
 ] 

Haochao Zhuang commented on SOLR-8919:
--------------------------------------

We use an object of Pair<String, String> to represent  a tuple of 
AggFunctionName and Column. So how to represent the count function with 
DISTINCT?

Maybe we have to have another function name to represent it by UNIQUE. This is 
okay for JSON Facet API. 

But it is not really okay for MAP_REDUCE model.

 

> Add SELECT COUNT(DISTINCT COL) queries to the SQL Interface
> -----------------------------------------------------------
>
>                 Key: SOLR-8919
>                 URL: https://issues.apache.org/jira/browse/SOLR-8919
>             Project: Solr
>          Issue Type: Bug
>          Components: Parallel SQL
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Major
>             Fix For: 6.2, 7.0
>
>
> While analyzing the Enron emails for SOLR-8888, I was wishing that 
> COUNT(DISTINCT) was implemented. This ticket is to implement it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to