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

Gabor Kaszab commented on IMPALA-9635:
--------------------------------------

Most probably there is going to be a switch in Hive for the same purpose and it 
would make sense to have the same name for that in my opinion but it's not 
decided yet. And yes, eventually there will be a set of approximate functions 
if everything goes well that will be turned on with the same switch so 
APPX_COUNT_DISTINCT won't probably be the best for this purpose.
On the other hand, if the HLL from Datasketches appear way faster than our 
current HLL we can consider replacing the old one with the new.

> Rewrite count(distinct) to use ds_hll_* functions when in BI mode
> -----------------------------------------------------------------
>
>                 Key: IMPALA-9635
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9635
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Frontend
>            Reporter: Gabor Kaszab
>            Priority: Major
>
> This effort is dependent on a major FE work that is going on currently. The 
> task here is to verify that:
> 1) There is a switch to turn on BI mode
> 2) In BI mode count(distinct) queries are rewritten to ds_hll_* approx 
> functions



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to