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

Vineet Garg commented on HIVE-16934:
------------------------------------

Hi [~jcamachorodriguez],  why do we do this rewrite? In what way rewriting 
count(a) to count(*) benefits?

> Transform COUNT(x) into COUNT() when x is not nullable
> ------------------------------------------------------
>
>                 Key: HIVE-16934
>                 URL: https://issues.apache.org/jira/browse/HIVE-16934
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logical Optimizer
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-16934.patch
>
>
> Add a rule to simplify COUNT aggregation function if possible, removing 
> expressions that cannot be nullable from its parameters.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to